GFS2: Lock i_mutex and use a local gfs2_holder for fallocate
authorBob Peterson <rpeterso@redhat.com>
Thu, 6 Feb 2014 15:43:50 +0000 (10:43 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 6 Feb 2014 15:49:58 +0000 (15:49 +0000)
commita0846a534c5fbc40a08e2960a24bd0b8d647a840
tree6ff563d46d745ceec2db5f58053f84c12a69d644
parent774016b2d455017935b3e318b6cc4e055e9dd47f
GFS2: Lock i_mutex and use a local gfs2_holder for fallocate

This patch causes GFS2 to lock the i_mutex during fallocate. It
also switches from using a dinode's inode glock to using a local
holder like the other GFS2 i_operations.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/file.c