alistair23-linux/fs/affs
DengChao db39c16724 fs:affs:Replace time_t with time64_t
The affs code uses "time_t" and "get_seconds()". This will cause
problems on 32-bit architectures in 2038 when time_t overflows.
This patch replaces them with "time64_t" and
"ktime_get_real_seconds()". This patch introduces expensive 64-bit
divsion in "secs_to_datestamp()", considering this function is not
called so often, the cost should be acceptable.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: DengChao <chao.deng@linaro.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2016-01-09 02:59:19 -05:00
..
affs.h fs:affs:Replace time_t with time64_t 2016-01-09 02:59:19 -05:00
amigaffs.c fs:affs:Replace time_t with time64_t 2016-01-09 02:59:19 -05:00
bitmap.c fs/affs/bitmap.c: remove unnecessary return 2015-02-17 14:34:52 -08:00
Changes remove obsolete references to powertweak 2013-11-27 20:34:32 -08:00
dir.c fs/affs: define AFFSNAMEMAX to replace constant use 2015-02-17 14:34:52 -08:00
file.c Merge branch 'akpm' (patches from Andrew) 2015-04-17 09:04:38 -04:00
inode.c fs/affs/inode.c: remove unneeded initialization 2015-06-30 19:44:57 -07:00
Kconfig
Makefile
namei.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2015-04-26 17:22:07 -07:00
super.c fs:affs:Replace time_t with time64_t 2016-01-09 02:59:19 -05:00
symlink.c fs/affs/symlink.c: remove unneeded err variable 2015-06-30 19:44:57 -07:00