]> 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)
commitb90cb21e2127b1b3dd8912dec5c8ce2f395a8e81
treedd5d0428de988c059ff84ef286c05c393dee1e0d
parent5fa24f2e01a117491c50f7ca5db4ea23bb6cb33b
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