VFS: Remove dependency of ->umount_begin() call on MNT_FORCE
[linux-2.6.git] / fs / namespace.c
index b22e469..6bb0b85 100644 (file)
@@ -576,8 +576,8 @@ static int do_umount(struct vfsmount *mnt, int flags)
         */
 
        lock_kernel();
-       if ((flags & MNT_FORCE) && sb->s_op->umount_begin)
-               sb->s_op->umount_begin(sb);
+       if (sb->s_op->umount_begin)
+               sb->s_op->umount_begin(mnt, flags);
        unlock_kernel();
 
        /*