vfs: umount_begin BKL pushdown

Push BKL down into ->umount_begin()

Signed-off-by: Alessio Igor Bogani <[email protected]>
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Alessio Igor Bogani 2009-04-24 09:06:53 +02:00 • committed by Al Viro
commit 67e55205ec
5 changed files with 17 additions and 4 deletions

View file

@ -1073,9 +1073,7 @@ static int do_umount(struct vfsmount *mnt, int flags)
*/
if (flags & MNT_FORCE && sb->s_op->umount_begin) {
lock_kernel();
sb->s_op->umount_begin(sb);
unlock_kernel();
}
/*