summaryrefslogtreecommitdiff
path: root/fs/gfs2/inode.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2016-09-26 21:20:19 +0300
committerBob Peterson <rpeterso@redhat.com>2016-09-26 21:20:19 +0300
commitd7c436cd605eb203ecf64c40f9b18aa610ac0248 (patch)
tree28bcc71357dbec7e1152322409d0f3c362eab0c3 /fs/gfs2/inode.c
parente0d735c1cc2749598f2d29f60f9a16658fd96ae9 (diff)
downloadlinux-d7c436cd605eb203ecf64c40f9b18aa610ac0248.tar.xz
gfs2: Update file times after grabbing glock
In gfs2_page_mkwrite, grab the inode glock in EX mode before calling file_update_time: grabbing the lock may result in a call to gfs2_dinode_in, which will reset the file times to their on-disk state. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.c')
0 files changed, 0 insertions, 0 deletions