forked from Minki/linux
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);
|
||||
if (mnt_get_count(mnt) != 2) {
|
||||
br_write_lock(vfsmount_lock);
|
||||
br_write_unlock(vfsmount_lock);
|
||||
return -EBUSY;
|
||||
}
|
||||
br_write_unlock(vfsmount_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user