mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 09:56:46 +00:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: Unlock vfsmount_lock in do_umount
This commit is contained in:
commit
dcace5ac85
@ -1244,7 +1244,7 @@ static int do_umount(struct vfsmount *mnt, int flags)
|
|||||||
*/
|
*/
|
||||||
br_write_lock(vfsmount_lock);
|
br_write_lock(vfsmount_lock);
|
||||||
if (mnt_get_count(mnt) != 2) {
|
if (mnt_get_count(mnt) != 2) {
|
||||||
br_write_lock(vfsmount_lock);
|
br_write_unlock(vfsmount_lock);
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
}
|
}
|
||||||
br_write_unlock(vfsmount_lock);
|
br_write_unlock(vfsmount_lock);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user