diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-09-26 20:20:19 +0200 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2016-09-26 20:20:19 +0200 |
commit | d7c436cd605eb203ecf64c40f9b18aa610ac0248 (patch) | |
tree | 28bcc71357dbec7e1152322409d0f3c362eab0c3 /fs/affs | |
parent | gfs2: fix to detect failure of register_shrinker (diff) | |
download | linux-d7c436cd605eb203ecf64c40f9b18aa610ac0248.tar.xz linux-d7c436cd605eb203ecf64c40f9b18aa610ac0248.zip |
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/affs')
0 files changed, 0 insertions, 0 deletions