fuse doesn't need BKL in ->umount_begin()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 16 Jun 2009 18:15:00 +0000 (14:15 -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/fuse/inode.c

index f0df55a529296e0df1b0f65bcfea7695c3674c09..d8673ccf90b75033c0d4f0a37ed5a775accf0025 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/random.h>
 #include <linux/sched.h>
 #include <linux/exportfs.h>
-#include <linux/smp_lock.h>
 
 MODULE_AUTHOR("Miklos Szeredi <miklos@szeredi.hu>");
 MODULE_DESCRIPTION("Filesystem in Userspace");
@@ -260,9 +259,7 @@ struct inode *fuse_iget(struct super_block *sb, u64 nodeid,
 
 static void fuse_umount_begin(struct super_block *sb)
 {
-       lock_kernel();
        fuse_abort_conn(get_fuse_conn_super(sb));
-       unlock_kernel();
 }
 
 static void fuse_send_destroy(struct fuse_conn *fc)