commit | d7c436cd605eb203ecf64c40f9b18aa610ac0248 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Mon Sep 26 13:20:19 2016 -0500 |
committer | Bob Peterson <rpeterso@redhat.com> | Mon Sep 26 13:20:19 2016 -0500 |
tree | 28bcc71357dbec7e1152322409d0f3c362eab0c3 | |
parent | e0d735c1cc2749598f2d29f60f9a16658fd96ae9 [diff] |
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>