cifs: use 64-bit timestamps for fscache
authorArnd Bergmann <arnd@arndb.de>
Tue, 19 Jun 2018 15:27:59 +0000 (17:27 +0200)
committerSteve French <stfrench@microsoft.com>
Tue, 7 Aug 2018 19:15:41 +0000 (14:15 -0500)
commitcbedeadf9c44a1a135293717d501882f2933a534
treedd9a7e019b8dde669e5fc89abcfd8076155a3da8
parent95390201e7d8dd1eb764a3cbd50ae538a17fcd02
cifs: use 64-bit timestamps for fscache

In the fscache, we just need the timestamps as cookies to check for
changes, so we don't really care about the overflow, but it's better
to stop using the deprecated timespec so we don't have to go through
explicit conversion functions.

To avoid comparing uninitialized padding values that are copied
while assigning the timespec values, this rearranges the members of
cifs_fscache_inode_auxdata to avoid padding, and assigns them
individually.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Paulo Alcantara <palcantara@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cache.c
fs/cifs/fscache.c
fs/cifs/fscache.h