aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2007-09-14 10:22:47 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-09-14 10:22:47 -0400
commit34287aa3605d52ef5a4b6e5e2cca98667166508b (patch)
tree9fe98c52d32c2bfe0ee37115b7bafa1dae7f320d /fs/btrfs/file.c
parent432eba0882a32d6181ba44044f6e576226134784 (diff)
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 c26ca54ed4de..ca7e5d4474e0 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -732,10 +732,10 @@ struct file_operations btrfs_file_operations = {
732 .write = btrfs_file_write, 732 .write = btrfs_file_write,
733 .mmap = btrfs_file_mmap, 733 .mmap = btrfs_file_mmap,
734 .open = generic_file_open, 734 .open = generic_file_open,
735 .ioctl = btrfs_ioctl,
736 .fsync = btrfs_sync_file, 735 .fsync = btrfs_sync_file,
736 .unlocked_ioctl = btrfs_ioctl,
737#ifdef CONFIG_COMPAT 737#ifdef CONFIG_COMPAT
738 .compat_ioctl = btrfs_compat_ioctl, 738 .compat_ioctl = btrfs_ioctl,
739#endif 739#endif
740}; 740};
741 741