File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4473,7 +4473,7 @@ static int btrfs_ioctl_set_features(struct file *file, void __user *arg)
44734473 return ret ;
44744474}
44754475
4476- static int _btrfs_ioctl_send (struct inode * inode , void __user * argp , bool compat )
4476+ static int _btrfs_ioctl_send (struct btrfs_inode * inode , void __user * argp , bool compat )
44774477{
44784478 struct btrfs_ioctl_send_args * arg ;
44794479 int ret ;
@@ -4795,10 +4795,10 @@ long btrfs_ioctl(struct file *file, unsigned int
47954795 return btrfs_ioctl_set_received_subvol_32 (file , argp );
47964796#endif
47974797 case BTRFS_IOC_SEND :
4798- return _btrfs_ioctl_send (inode , argp , false);
4798+ return _btrfs_ioctl_send (BTRFS_I ( inode ) , argp , false);
47994799#if defined(CONFIG_64BIT ) && defined(CONFIG_COMPAT )
48004800 case BTRFS_IOC_SEND_32 :
4801- return _btrfs_ioctl_send (inode , argp , true);
4801+ return _btrfs_ioctl_send (BTRFS_I ( inode ) , argp , true);
48024802#endif
48034803 case BTRFS_IOC_GET_DEV_STATS :
48044804 return btrfs_ioctl_get_dev_stats (fs_info , argp );
Original file line number Diff line number Diff line change @@ -8065,10 +8065,10 @@ static void dedupe_in_progress_warn(const struct btrfs_root *root)
80658065 btrfs_root_id (root ), root -> dedupe_in_progress );
80668066}
80678067
8068- long btrfs_ioctl_send (struct inode * inode , const struct btrfs_ioctl_send_args * arg )
8068+ long btrfs_ioctl_send (struct btrfs_inode * inode , const struct btrfs_ioctl_send_args * arg )
80698069{
80708070 int ret = 0 ;
8071- struct btrfs_root * send_root = BTRFS_I ( inode ) -> root ;
8071+ struct btrfs_root * send_root = inode -> root ;
80728072 struct btrfs_fs_info * fs_info = send_root -> fs_info ;
80738073 struct btrfs_root * clone_root ;
80748074 struct send_ctx * sctx = NULL ;
Original file line number Diff line number Diff line change 1111#include <linux/sizes.h>
1212#include <linux/align.h>
1313
14- struct inode ;
14+ struct btrfs_inode ;
1515struct btrfs_ioctl_send_args ;
1616
1717#define BTRFS_SEND_STREAM_MAGIC "btrfs-stream"
@@ -182,6 +182,6 @@ enum {
182182 __BTRFS_SEND_A_MAX = 35 ,
183183};
184184
185- long btrfs_ioctl_send (struct inode * inode , const struct btrfs_ioctl_send_args * arg );
185+ long btrfs_ioctl_send (struct btrfs_inode * inode , const struct btrfs_ioctl_send_args * arg );
186186
187187#endif
You can’t perform that action at this time.
0 commit comments