]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: don't hold s_umount over blkdev_put
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 6 Dec 2013 11:52:34 +0000 (11:52 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 13 Dec 2013 21:42:03 +0000 (21:42 +0000)
commitdfe5b9ad83a63180f358b27d1018649a27b394a9
tree0e5f24e72dc8eb3a32de6cedf081ef5e6ae670e7
parent7e3528c3660a2e8602abc7858b0994d611f74bc3
GFS2: don't hold s_umount over blkdev_put

This is a GFS2 version of Tejun's patch:
4f331f01b9c43bf001d3ffee578a97a1e0633eac
vfs: don't hold s_umount over close_bdev_exclusive() call

In this case its blkdev_put itself that is the issue and this
patch uses the same solution of dropping and retaking s_umount.

Reported-by: Tejun Heo <tj@kernel.org>
Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_fstype.c