[Cluster-devel] [PATCH 1/2] gfs2: Update file times after grabbing glock

Bob Peterson rpeterso at redhat.com
Mon Sep 26 18:41:56 UTC 2016


----- Original Message -----
| 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 at redhat.com>
| ---
Hi,

Thanks. This is now applied to the for-next branch of the linux-gfs2 tree:
https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=d7c436cd605eb203ecf64c40f9b18aa610ac0248

Regards,

Bob Peterson
Red Hat File Systems




More information about the Cluster-devel mailing list