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 <[email protected] >
Reviewed-by: Arnd Bergmann <[email protected] >
Acked-by: Felipe Balbi <[email protected] >
Acked-by: Steven Whitehouse <[email protected] >
Acked-by: Ryusuke Konishi <[email protected] >
Acked-by: David Sterba <[email protected] >
Signed-off-by: Al Viro <[email protected] >
2016-09-27 21:06:21 -04:00
..
6lowpan
6lowpan: ndisc: set invalid unicast short addr to unspec
2016-07-08 13:23:12 +02:00
9p
9p/trans_virtio: use kvfree() for iov_iter_get_pages_alloc()
2016-08-09 13:42:36 +03:00
802
8021q
net: remove type_check from dev_get_nest_level()
2016-08-13 15:15:54 -07:00
appletalk
atm
ax25
batman-adv
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-07-24 00:53:32 -04:00
bluetooth
Bluetooth: Fix hci_sock_recvmsg when MSG_TRUNC is not set
2016-08-25 20:58:47 +02:00
bridge
bridge: Fix problems around fdb entries pointing to the bridge device
2016-08-09 21:42:44 -07:00
caif
can
ceph
libceph: using kfree_rcu() to simplify the code
2016-08-08 21:41:42 +02:00
core
net: remove type_check from dev_get_nest_level()
2016-08-13 15:15:54 -07:00
dcb
dccp
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2016-07-29 17:38:46 -07:00
decnet
dns_resolver
dsa
net: dsa: support switchdev ageing time attr
2016-07-19 19:42:01 -07:00
ethernet
hsr
ieee802154
ieee802154: 6lowpan: fix intra pan id check
2016-07-08 13:23:12 +02:00
ipv4
net: diag: Fix refcnt leak in error path destroying socket
2016-08-23 23:11:36 -07:00
ipv6
udp: get rid of SLAB_DESTROY_BY_RCU allocations
2016-08-23 17:46:17 -07:00
ipx
irda
net/irda: handle iriap_register_lsap() allocation failure
2016-08-13 15:09:07 -07:00
iucv
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2016-07-29 17:38:46 -07:00
kcm
kcm: remove redundant -ve error check and return path
2016-07-25 11:17:16 -07:00
key
l2tp
l2tp: Fix the connect status check in pppol2tp_getname
2016-08-19 17:55:43 -07:00
l3mdev
lapb
llc
mac80211
mac80211: Add ieee80211_hw pointer to get_expected_throughput
2016-08-05 14:23:25 +02:00
mac802154
mpls
mpls: allow routes on ipip and sit devices
2016-07-09 17:45:56 -04:00
ncsi
net/ncsi: avoid maybe-uninitialized warning
2016-07-25 10:32:59 -07:00
netfilter
netfilter: cttimeout: fix use after free error when delete netns
2016-08-18 15:17:00 +02:00
netlabel
netlink
netrom
nfc
NFC: digital: Fix RTOX supervisor PDU handling
2016-07-11 02:02:03 +02:00
openvswitch
openvswitch: do not ignore netdev errors when creating tunnel vports
2016-08-10 23:13:23 -07:00
packet
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-07-24 00:53:32 -04:00
phonet
qrtr
rds
RDS: TCP: Enable multipath RDS for TCP
2016-07-15 11:36:58 -07:00
rfkill
rose
rose: limit sk_filter trim to payload
2016-07-13 11:53:40 -07:00
rxrpc
rxrpc: Free packets discarded in data_ready
2016-08-09 17:13:56 +01:00
sched
qdisc: fix a module refcount leak in qdisc_create_dflt()
2016-08-25 16:44:20 -07:00
sctp
sctp: fix overrun in sctp_diag_dump_one()
2016-08-23 17:22:53 -07:00
sunrpc
fs: Replace CURRENT_TIME with current_time() for inode timestamps
2016-09-27 21:06:21 -04:00
switchdev
net/switchdev: Export the same parent ID service function
2016-07-14 13:34:29 -07:00
tipc
tipc: fix the error handling in tipc_udp_enable()
2016-08-25 16:32:34 -07:00
unix
af_unix: charge buffers to kmemcg
2016-07-26 16:19:19 -07:00
vmw_vsock
vhost/vsock: drop space available check for TX vq
2016-08-15 05:05:21 +03:00
wimax
wireless
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-08-17 17:26:58 -07:00
x25
xfrm
compat.c
Kconfig
net/ncsi: Resource management
2016-07-19 20:49:16 -07:00
Makefile
net/ncsi: Resource management
2016-07-19 20:49:16 -07:00
socket.c
sysctl_net.c