]> asedeno.scripts.mit.edu Git - linux.git/commit
GFS2: fallocate: do not rely on file_update_time to mark the inode dirty
authorAndrew Price <anprice@redhat.com>
Tue, 22 Sep 2015 12:41:21 +0000 (07:41 -0500)
committerBob Peterson <rpeterso@redhat.com>
Tue, 22 Sep 2015 12:41:46 +0000 (07:41 -0500)
commit4b813f09405823dcbb27a434f6ddcd1741e55e9b
tree182786b5c4e375ff47426d255d0e53cd20895951
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
GFS2: fallocate: do not rely on file_update_time to mark the inode dirty

Previously __gfs2_fallocate() relied on file_update_time() marking the
inode dirty, but that's not a safe assumption as that function doesn't
dirty the inode in some cases. Mark the inode dirty explicitly.

Signed-off-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/file.c