linux/fs/fat
Arnd Bergmann f423420c23 fat: propagate 64-bit inode timestamps
Now that we pass down 64-bit timestamps from VFS, we just need to convert
that correctly into on-disk timestamps.  To make that work correctly, this
changes the last use of time_to_tm() in the kernel to time64_to_tm(),
which also lets use remove that deprecated interfaces.

Similarly, the time_t use in fat_time_fat2unix() truncates the timestamp
on the way in, which can be avoided by using types that are wide enough to
hold the intermediate values during the conversion.

[hirofumi@mail.parknet.co.jp: remove useless temporary variable, needless long long]
Link: http://lkml.kernel.org/r/20180619153646.3637529-1-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-22 10:52:50 -07:00
..
cache.c fat: validate ->i_start before using 2018-08-22 10:52:50 -07:00
dir.c fat: propagate 64-bit inode timestamps 2018-08-22 10:52:50 -07:00
fat.h fat: propagate 64-bit inode timestamps 2018-08-22 10:52:50 -07:00
fatent.c fat: validate ->i_start before using 2018-08-22 10:52:50 -07:00
file.c fat: add FITRIM ioctl for FAT file system 2018-08-22 10:52:50 -07:00
inode.c fat: propagate 64-bit inode timestamps 2018-08-22 10:52:50 -07:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
misc.c fat: propagate 64-bit inode timestamps 2018-08-22 10:52:50 -07:00
namei_msdos.c fat: propagate 64-bit inode timestamps 2018-08-22 10:52:50 -07:00
namei_vfat.c fat: propagate 64-bit inode timestamps 2018-08-22 10:52:50 -07:00
nfs.c