nfs: use timespec64 in nfs_fattr
Push down the use of timespec64 into NFS nfs_fattr, to avoid needless conversions, and get closer to having 64-bit time_t support on 32-bit NFSv4 and removing some old interfaces from the kernel. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:

committed by
Anna Schumaker

parent
52879b464a
commit
ae08483cdd
@@ -697,9 +697,9 @@ unsigned int nfs_page_array_len(unsigned int base, size_t len)
|
||||
}
|
||||
|
||||
/*
|
||||
* Convert a struct timespec into a 64-bit change attribute
|
||||
* Convert a struct timespec64 into a 64-bit change attribute
|
||||
*
|
||||
* This does approximately the same thing as timespec_to_ns(),
|
||||
* This does approximately the same thing as timespec64_to_ns(),
|
||||
* but for calculation efficiency, we multiply the seconds by
|
||||
* 1024*1024*1024.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user