linux-mainline/fs/ubifs
Arnd Bergmann 6cff573202 ubifs: tnc: use monotonic znode timestamp
The tnc uses get_seconds() based timestamps to check the age of a znode,
which has two problems: on 32-bit architectures this may overflow in
2038 or 2106, and it gives incorrect information when the system time
is updated using settimeofday().

Using montonic timestamps with ktime_get_seconds() solves both thes
problems.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
2018-08-15 00:06:16 +02:00
..
budget.c
commit.c
compress.c
crypto.c
debug.c
debug.h
dir.c
file.c ubifs: use timespec64 for inode timestamps 2018-08-15 00:06:16 +02:00
find.c
gc.c ubifs: gc: Fix typo 2018-08-15 00:06:15 +02:00
io.c
ioctl.c
journal.c
Kconfig
key.h
log.c
lprops.c ubifs: Fix memory leak in lprobs self-check 2018-08-15 00:06:15 +02:00
lpt_commit.c
lpt.c
Makefile
master.c
misc.c
misc.h
orphan.c
recovery.c
replay.c
sb.c ubifs: use timespec64 for inode timestamps 2018-08-15 00:06:16 +02:00
scan.c
shrinker.c ubifs: tnc: use monotonic znode timestamp 2018-08-15 00:06:16 +02:00
super.c
tnc_commit.c
tnc_misc.c ubifs: tnc: use monotonic znode timestamp 2018-08-15 00:06:16 +02:00
tnc.c ubifs: tnc: use monotonic znode timestamp 2018-08-15 00:06:16 +02:00
ubifs-media.h
ubifs.h ubifs: tnc: use monotonic znode timestamp 2018-08-15 00:06:16 +02:00
xattr.c ubifs: xattr: Don't operate on deleted inodes 2018-08-15 00:06:15 +02:00