linux/arch/powerpc/platforms/cell/spufs
Deepa Dinamani 078cd8279e fs: Replace CURRENT_TIME with current_time() for inode timestamps
CURRENT_TIME macro is not appropriate for filesystems as it
doesn't use the right granularity for filesystem timestamps.
Use current_time() instead.

CURRENT_TIME is also not y2038 safe.

This is also in preparation for the patch that transitions
vfs timestamps to use 64 bit time and hence make them
y2038 safe. As part of the effort current_time() will be
extended to do range checks. Hence, it is necessary for all
file system timestamps to use current_time(). Also,
current_time() will be transitioned along with vfs to be
y2038 safe.

Note that whenever a single call to current_time() is used
to change timestamps in different inodes, it is because they
share the same time granularity.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Felipe Balbi <balbi@kernel.org>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Acked-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Acked-by: David Sterba <dsterba@suse.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2016-09-27 21:06:21 -04:00
..
.gitignore [POWERPC] spufs: add .gitignore for spu_save_dump.h & spu_restore_dump.h 2008-04-30 16:29:30 +10:00
backing_ops.c powerpc: remove non-required uses of include <linux/module.h> 2011-10-31 19:30:44 -04:00
context.c powerpc: cell: Use ktime_get_ns() 2014-07-23 10:18:07 -07:00
coredump.c coredump: fix dumping through pipes 2016-06-07 22:07:09 -04:00
fault.c powerpc/mm: Replace _PAGE_USER with _PAGE_PRIVILEGED 2016-05-01 18:32:26 +10:00
file.c powerpc: Various typo fixes 2016-06-14 13:58:26 +10:00
gang.c [CELL] cell: add placement computation for scheduling of affinity contexts 2007-07-20 21:42:17 +02:00
hw_ops.c powerpc: remove non-required uses of include <linux/module.h> 2011-10-31 19:30:44 -04:00
inode.c fs: Replace CURRENT_TIME with current_time() for inode timestamps 2016-09-27 21:06:21 -04:00
lscsa_alloc.c powerpc/cell: Drop support for 64K local store on 4K kernels 2015-08-18 19:29:49 +10:00
Makefile powerpc/cell: Fix compilation with CONFIG_COREDUMP=n 2014-07-11 12:55:05 +10:00
run.c powerpc: Various typo fixes 2016-06-14 13:58:26 +10:00
sched.c powerpc: Various typo fixes 2016-06-14 13:58:26 +10:00
spu_restore_crt0.S
spu_restore_dump.h_shipped [CELL] spufs: change decrementer restore timing 2007-07-20 21:42:03 +02:00
spu_restore.c Fix common misspellings 2011-03-31 11:26:23 -03:00
spu_save_crt0.S
spu_save_dump.h_shipped
spu_save.c
spu_utils.h
spufs.h powerpc/spufs: Remove duplicate SPUFS_CNTL_MAP_SIZE define 2014-06-11 17:03:32 +10:00
sputrace.h powerpc/sputrace: Use the generic event tracer 2009-08-20 10:29:21 +10:00
switch.c powerpc: various straight conversions from module.h --> export.h 2011-10-31 19:30:44 -04:00
syscalls.c powerpc/cell: Fix compilation with CONFIG_COREDUMP=n 2014-07-11 12:55:05 +10:00