diff options
author | Alessio Igor Bogani <abogani@texware.it> | 2009-04-24 03:06:53 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-09 10:49:38 -0400 |
commit | 67e55205ec55cc7899f1d783f217961596798419 (patch) | |
tree | 45dd7351f9721a46ecb448f0571fb10db3259147 /fs/namespace.c | |
parent | 091bf7624d1c90cec9e578a18529f615213ff847 (diff) |
vfs: umount_begin BKL pushdown
Push BKL down into ->umount_begin()
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 41196209a906..0d2003fb4377 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -1073,9 +1073,7 @@ static int do_umount(struct vfsmount *mnt, int flags) | |||
1073 | */ | 1073 | */ |
1074 | 1074 | ||
1075 | if (flags & MNT_FORCE && sb->s_op->umount_begin) { | 1075 | if (flags & MNT_FORCE && sb->s_op->umount_begin) { |
1076 | lock_kernel(); | ||
1077 | sb->s_op->umount_begin(sb); | 1076 | sb->s_op->umount_begin(sb); |
1078 | unlock_kernel(); | ||
1079 | } | 1077 | } |
1080 | 1078 | ||
1081 | /* | 1079 | /* |