summaryrefslogtreecommitdiff
path: root/fs/btrfs/send.h
diff options
context:
space:
mode:
authorSahil Kang <sahil.kang@asilaycomputing.com>2022-01-16 05:48:47 +0300
committerDavid Sterba <dsterba@suse.com>2022-03-14 15:13:46 +0300
commit9ad1230533efb6d9f5865a351eca8f0617cf5b74 (patch)
tree6945cc0186948e4406afa74c05070f32158abe3a /fs/btrfs/send.h
parentff37c89f94be14b0e22a532d1e6d57187bfd5bb8 (diff)
downloadlinux-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.h2
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