Btrfs: use unlocked_ioctl
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Sep 2007 14:22:47 +0000 (10:22 -0400)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Fri, 14 Sep 2007 14:22:47 +0000 (10:22 -0400)
No reason to grab the BKL before calling into the btrfs ioctl code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/file.c
fs/btrfs/inode.c

index 6d6e94b..800a349 100644 (file)
@@ -1219,10 +1219,7 @@ struct inode *btrfs_alloc_inode(struct super_block *sb);
 void btrfs_destroy_inode(struct inode *inode);
 int btrfs_init_cachep(void);
 void btrfs_destroy_cachep(void);
-int btrfs_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
-               unsigned long arg);
-long btrfs_compat_ioctl(struct file *file, unsigned int cmd,
-                              unsigned long arg);
+long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
 struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid,
                                struct btrfs_root *root);
 int btrfs_commit_write(struct file *file, struct page *page,
diff --cc fs/btrfs/file.c
Simple merge
Simple merge