mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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:
parent
091bf7624d
commit
67e55205ec
5 changed files with 17 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue