]> git.baikalelectronics.ru Git - kernel.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)
commit20cc6132932aaf77a3c2d5f861fb3aff5f4ac392
tree0e5f24e72dc8eb3a32de6cedf081ef5e6ae670e7
parent7cac1344104fa69383cc458e195890b0e915481c
GFS2: don't hold s_umount over blkdev_put

This is a GFS2 version of Tejun's patch:
47fbcb8b9c5622151387a9ca0ec5b3054b991b67
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