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
..
altera-stapl
drivers/misc/altera-stapl/altera.c: remove extraneous KERN_INFO prefix
2015-06-25 17:00:38 -07:00
c2port
misc: c2port: use kobj_to_dev()
2016-02-07 23:01:45 -08:00
cb710
cxl
cxl: use pcibios_free_controller_deferred() when removing vPHBs
2016-08-22 11:09:33 +10:00
echo
eeprom
eeprom: at24: tweak the loop_until_timeout() macro
2016-07-18 20:07:54 +02:00
genwqe
GenWQE: Use pci_(request|release)_mem_regions
2016-06-21 17:11:09 -05:00
ibmasm
fs: Replace CURRENT_TIME with current_time() for inode timestamps
2016-09-27 21:06:21 -04:00
lis3lv02d
misc: apds990x, bh1770glc, lis3lv02d: use to_i2c_client
2016-02-07 23:01:45 -08:00
mei
mei: me: disable driver on SPT SPS firmware
2016-08-30 14:34:04 +02:00
mic
virtio/vhost: new features for 4.8
2016-08-06 09:20:13 -04:00
sgi-gru
x86/platform/UV: Remove Obsolete GRU MMR address translation
2016-05-04 08:48:51 +02:00
sgi-xp
mm: rename alloc_pages_exact_node() to __alloc_pages_node()
2015-09-08 15:35:28 -07:00
ti-st
drivers: misc: ti-st: Use int instead of fuzzy char for callback status
2016-07-17 19:59:26 +02:00
vmw_vmci
mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros
2016-04-04 10:41:08 -07:00
ad525x_dpot-i2c.c
misc: ad525x_dpot: Remove unnecessary MODULE_ALIAS()
2015-09-20 19:33:29 -07:00
ad525x_dpot-spi.c
spi: Drop owner assignment from spi_drivers
2015-10-28 10:30:17 +09:00
ad525x_dpot.c
misc: ad525x_dpot: Fix the enabling of the "otpXen" attributes
2016-03-01 16:55:13 -08:00
ad525x_dpot.h
apds990x.c
misc: apds990x, bh1770glc, lis3lv02d: use to_i2c_client
2016-02-07 23:01:45 -08:00
apds9802als.c
arm-charlcd.c
drivers/misc: make arm-charlcd.c explicitly non-modular
2016-02-07 23:01:45 -08:00
atmel-ssc.c
ASoC: atmel_ssc_dai: distinguish the different SSC
2016-03-02 23:43:11 +09:00
atmel_tclib.c
misc: atmel_tclib: get and use slow clock
2015-10-06 12:33:14 +02:00
bh1770glc.c
misc: apds990x, bh1770glc, lis3lv02d: use to_i2c_client
2016-02-07 23:01:45 -08:00
bmp085-i2c.c
misc: Drop owner assignment from i2c_driver
2015-08-10 08:37:35 +02:00
bmp085-spi.c
spi: Drop owner assignment from spi_drivers
2015-10-28 10:30:17 +09:00
bmp085.c
bmp085.h
cs5535-mfgpt.c
ds1682.c
misc: ds1682: clean up ds1682_eeprom_read() and ds1682_eeprom_write()
2015-08-05 13:53:39 -07:00
dummy-irq.c
enclosure.c
enclosure: fix WARN_ON removing an adapter in multi-path devices
2015-03-31 08:53:36 +03:00
fsa9480.c
hmc6352.c
hpilo.c
misc: hpilo: Change e-mail address from hp.com to hpe.com
2015-10-04 12:42:33 +01:00
hpilo.h
ics932s401.c
ioc4.c
misc: ioc4: simplify wave period measurement in clock_calibrate
2015-01-12 05:04:11 -08:00
isl29003.c
misc: Drop owner assignment from i2c_driver
2015-08-10 08:37:35 +02:00
isl29020.c
Kconfig
misc: delete bh1780 driver
2016-08-15 15:48:23 +02:00
kgdbts.c
drivers/misc: make kgdbts.c slightly more explicitly non-modular
2015-09-20 19:32:35 -07:00
lattice-ecp3-config.c
spi: Drop owner assignment from spi_drivers
2015-10-28 10:30:17 +09:00
lkdtm.h
lkdtm: silence warnings about function declarations
2016-07-15 16:14:45 -07:00
lkdtm_bugs.c
lkdtm: silence warnings about function declarations
2016-07-15 16:14:45 -07:00
lkdtm_core.c
lkdtm: silence warnings about function declarations
2016-07-15 16:14:45 -07:00
lkdtm_heap.c
lkdtm: silence warnings about function declarations
2016-07-15 16:14:45 -07:00
lkdtm_perms.c
lkdtm: silence warnings about function declarations
2016-07-15 16:14:45 -07:00
lkdtm_rodata.c
lkdtm: Mark lkdtm_rodata_do_nothing() notrace
2016-08-31 13:12:38 +02:00
lkdtm_usercopy.c
lkdtm: adjust usercopy tests to bypass const checks
2016-09-06 12:17:30 -07:00
Makefile
misc: delete bh1780 driver
2016-08-15 15:48:23 +02:00
panel.c
misc: panel, convert struct to bitmap
2016-02-11 19:24:23 -08:00
pch_phub.c
pch_phub: return -ENODATA if ROM can't be mapped
2016-03-05 12:19:39 -08:00
phantom.c
pti.c
qcom-coincell.c
ARM: qcom: silence an uninitialized variable warning
2016-05-01 14:20:04 -07:00
spear13xx_pcie_gadget.c
spear13xx_pcie_gadget: use per-attribute show and store methods
2015-10-13 22:17:40 -07:00
sram.c
misc: sram: fix check of devm_ioremap*() return value
2016-04-30 14:15:56 -07:00
ti_dac7512.c
spi: Drop owner assignment from spi_drivers
2015-10-28 10:30:17 +09:00
tifm_7xx1.c
misc: tifm: match return type of wait_for_completion_timeout
2015-03-25 11:36:38 +01:00
tifm_core.c
tsl2550.c
misc: Drop owner assignment from i2c_driver
2015-08-10 08:37:35 +02:00
vexpress-syscfg.c
vmw_balloon.c
mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIM
2015-11-06 17:50:42 -08:00