9P doesn't need BKL in ->umount_begin()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 16 Jun 2009 18:17:21 +0000 (14:17 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Jun 2009 04:36:36 +0000 (00:36 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/9p/vfs_super.c

index ab5547f..38d695d 100644 (file)
@@ -37,7 +37,6 @@
 #include <linux/mount.h>
 #include <linux/idr.h>
 #include <linux/sched.h>
-#include <linux/smp_lock.h>
 #include <net/9p/9p.h>
 #include <net/9p/client.h>
 
@@ -231,10 +230,8 @@ v9fs_umount_begin(struct super_block *sb)
 {
        struct v9fs_session_info *v9ses;
 
-       lock_kernel();
        v9ses = sb->s_fs_info;
        v9fs_session_cancel(v9ses);
-       unlock_kernel();
 }
 
 static const struct super_operations v9fs_super_ops = {