gfs2: Initialize atime of I_NEW inodes
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 26 Sep 2016 18:24:34 +0000 (13:24 -0500)
committerBob Peterson <rpeterso@redhat.com>
Mon, 26 Sep 2016 18:24:34 +0000 (13:24 -0500)
commit332f51d7db13ffb7fcbe2407ed5b3667bc3750a7
tree6876170734199df2b220b7257b3054faeedcd733
parentd7c436cd605eb203ecf64c40f9b18aa610ac0248
gfs2: Initialize atime of I_NEW inodes

Fix for commit 719ee344: initialize atime of I_NEW inodes to 0 so that
the timestamps read from disk will always be more recent than the
initial timestamp, and the atime in the I_NEW inode will be set correctly.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/inode.c