summaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2007-09-14 14:22:47 (GMT)
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-09-14 14:22:47 (GMT)
commit34287aa3605d52ef5a4b6e5e2cca98667166508b (patch)
tree9fe98c52d32c2bfe0ee37115b7bafa1dae7f320d /fs/btrfs/file.c
parent432eba0882a32d6181ba44044f6e576226134784 (diff)
downloadlinux-fsl-qoriq-34287aa3605d52ef5a4b6e5e2cca98667166508b.tar.xz
Btrfs: use unlocked_ioctl
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>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r--fs/btrfs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index c26ca54..ca7e5d4 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -732,10 +732,10 @@ struct file_operations btrfs_file_operations = {
.write = btrfs_file_write,
.mmap = btrfs_file_mmap,
.open = generic_file_open,
- .ioctl = btrfs_ioctl,
.fsync = btrfs_sync_file,
+ .unlocked_ioctl = btrfs_ioctl,
#ifdef CONFIG_COMPAT
- .compat_ioctl = btrfs_compat_ioctl,
+ .compat_ioctl = btrfs_ioctl,
#endif
};