]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31d7f419839b807cf4e421c69ab4b760c4d742e1
tree6876170734199df2b220b7257b3054faeedcd733
parent4722d005380e556f40c7c8d8cca8c33e20340359
gfs2: Initialize atime of I_NEW inodes

Fix for commit e691ca63: 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