]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: use timespec64 internally
authorArnd Bergmann <arnd@arndb.de>
Tue, 19 Jun 2018 15:27:58 +0000 (17:27 +0200)
committerSteve French <stfrench@microsoft.com>
Tue, 7 Aug 2018 19:15:41 +0000 (14:15 -0500)
commit58f9282e4c112aa3bd22a4576140e854c3750cd2
treedd5d0428de988c059ff84ef286c05c393dee1e0d
parentf25d272a16f9a1005b58b2b47b0fc231fdc7b0de
cifs: use timespec64 internally

In cifs, the timestamps are stored in memory in the cifs_fattr structure,
which uses the deprecated 'timespec' structure. Now that the VFS code
has moved on to 'timespec64', the next step is to change over the fattr
as well.

This also makes 32-bit and 64-bit systems behave the same way, and
no longer overflow the 32-bit time_t in year 2038.

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/cifsencrypt.c
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/inode.c
fs/cifs/netmisc.c