aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 5459a05e8aa5..1a9232356ef9 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1233,7 +1233,7 @@ static int do_umount(struct vfsmount *mnt, int flags)
1233 */ 1233 */
1234 vfsmount_write_lock(); 1234 vfsmount_write_lock();
1235 if (count_mnt_count(mnt) != 2) { 1235 if (count_mnt_count(mnt) != 2) {
1236 vfsmount_write_lock(); 1236 vfsmount_write_unlock();
1237 return -EBUSY; 1237 return -EBUSY;
1238 } 1238 }
1239 vfsmount_write_unlock(); 1239 vfsmount_write_unlock();