diff options
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 35f650e183e1..cc7c5161e269 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -354,7 +354,7 @@ out_unlock: | |||
354 | } | 354 | } |
355 | 355 | ||
356 | 356 | ||
357 | int btrfs_defrag_file(struct file *file) | 357 | static int btrfs_defrag_file(struct file *file) |
358 | { | 358 | { |
359 | struct inode *inode = fdentry(file)->d_inode; | 359 | struct inode *inode = fdentry(file)->d_inode; |
360 | struct btrfs_root *root = BTRFS_I(inode)->root; | 360 | struct btrfs_root *root = BTRFS_I(inode)->root; |
@@ -649,7 +649,7 @@ static int btrfs_ioctl_defrag(struct file *file) | |||
649 | return 0; | 649 | return 0; |
650 | } | 650 | } |
651 | 651 | ||
652 | long btrfs_ioctl_add_dev(struct btrfs_root *root, void __user *arg) | 652 | static long btrfs_ioctl_add_dev(struct btrfs_root *root, void __user *arg) |
653 | { | 653 | { |
654 | struct btrfs_ioctl_vol_args *vol_args; | 654 | struct btrfs_ioctl_vol_args *vol_args; |
655 | int ret; | 655 | int ret; |
@@ -671,7 +671,7 @@ out: | |||
671 | return ret; | 671 | return ret; |
672 | } | 672 | } |
673 | 673 | ||
674 | long btrfs_ioctl_rm_dev(struct btrfs_root *root, void __user *arg) | 674 | static long btrfs_ioctl_rm_dev(struct btrfs_root *root, void __user *arg) |
675 | { | 675 | { |
676 | struct btrfs_ioctl_vol_args *vol_args; | 676 | struct btrfs_ioctl_vol_args *vol_args; |
677 | int ret; | 677 | int ret; |
@@ -696,8 +696,8 @@ out: | |||
696 | return ret; | 696 | return ret; |
697 | } | 697 | } |
698 | 698 | ||
699 | long btrfs_ioctl_clone(struct file *file, unsigned long srcfd, u64 off, | 699 | static long btrfs_ioctl_clone(struct file *file, unsigned long srcfd, |
700 | u64 olen, u64 destoff) | 700 | u64 off, u64 olen, u64 destoff) |
701 | { | 701 | { |
702 | struct inode *inode = fdentry(file)->d_inode; | 702 | struct inode *inode = fdentry(file)->d_inode; |
703 | struct btrfs_root *root = BTRFS_I(inode)->root; | 703 | struct btrfs_root *root = BTRFS_I(inode)->root; |
@@ -1035,7 +1035,7 @@ out_fput: | |||
1035 | return ret; | 1035 | return ret; |
1036 | } | 1036 | } |
1037 | 1037 | ||
1038 | long btrfs_ioctl_clone_range(struct file *file, unsigned long argptr) | 1038 | static long btrfs_ioctl_clone_range(struct file *file, unsigned long argptr) |
1039 | { | 1039 | { |
1040 | struct btrfs_ioctl_clone_range_args args; | 1040 | struct btrfs_ioctl_clone_range_args args; |
1041 | 1041 | ||
@@ -1051,7 +1051,7 @@ long btrfs_ioctl_clone_range(struct file *file, unsigned long argptr) | |||
1051 | * basically own the machine, and have a very in depth understanding | 1051 | * basically own the machine, and have a very in depth understanding |
1052 | * of all the possible deadlocks and enospc problems. | 1052 | * of all the possible deadlocks and enospc problems. |
1053 | */ | 1053 | */ |
1054 | long btrfs_ioctl_trans_start(struct file *file) | 1054 | static long btrfs_ioctl_trans_start(struct file *file) |
1055 | { | 1055 | { |
1056 | struct inode *inode = fdentry(file)->d_inode; | 1056 | struct inode *inode = fdentry(file)->d_inode; |
1057 | struct btrfs_root *root = BTRFS_I(inode)->root; | 1057 | struct btrfs_root *root = BTRFS_I(inode)->root; |