diff options
author | Sahil Kang <sahil.kang@asilaycomputing.com> | 2022-01-16 05:48:47 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-03-14 15:13:46 +0300 |
commit | 9ad1230533efb6d9f5865a351eca8f0617cf5b74 (patch) | |
tree | 6945cc0186948e4406afa74c05070f32158abe3a /fs/btrfs/send.h | |
parent | ff37c89f94be14b0e22a532d1e6d57187bfd5bb8 (diff) | |
download | linux-9ad1230533efb6d9f5865a351eca8f0617cf5b74.tar.xz |
btrfs: reuse existing inode from btrfs_ioctl
btrfs_ioctl extracts inode from file so we can pass that into the
callbacks.
Signed-off-by: Sahil Kang <sahil.kang@asilaycomputing.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/send.h')
-rw-r--r-- | fs/btrfs/send.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/send.h b/fs/btrfs/send.h index 23bcefc84e49..08602fdd600a 100644 --- a/fs/btrfs/send.h +++ b/fs/btrfs/send.h @@ -126,7 +126,7 @@ enum { #define BTRFS_SEND_A_MAX (__BTRFS_SEND_A_MAX - 1) #ifdef __KERNEL__ -long btrfs_ioctl_send(struct file *mnt_file, struct btrfs_ioctl_send_args *arg); +long btrfs_ioctl_send(struct inode *inode, struct btrfs_ioctl_send_args *arg); #endif #endif |