Commit a8d89f5b authored by David Sterba's avatar David Sterba Committed by Chris Mason

btrfs: remove unused mnt from send_ctx

Unused since ed259095
"Btrfs: stop using vfs_read in send".
Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 95bc79d5
...@@ -88,8 +88,6 @@ struct send_ctx { ...@@ -88,8 +88,6 @@ struct send_ctx {
u64 cmd_send_size[BTRFS_SEND_C_MAX + 1]; u64 cmd_send_size[BTRFS_SEND_C_MAX + 1];
u64 flags; /* 'flags' member of btrfs_ioctl_send_args is u64 */ u64 flags; /* 'flags' member of btrfs_ioctl_send_args is u64 */
struct vfsmount *mnt;
struct btrfs_root *send_root; struct btrfs_root *send_root;
struct btrfs_root *parent_root; struct btrfs_root *parent_root;
struct clone_root *clone_roots; struct clone_root *clone_roots;
...@@ -4851,8 +4849,6 @@ long btrfs_ioctl_send(struct file *mnt_file, void __user *arg_) ...@@ -4851,8 +4849,6 @@ long btrfs_ioctl_send(struct file *mnt_file, void __user *arg_)
goto out; goto out;
} }
sctx->mnt = mnt_file->f_path.mnt;
sctx->send_root = send_root; sctx->send_root = send_root;
sctx->clone_roots_cnt = arg->clone_sources_count; sctx->clone_roots_cnt = arg->clone_sources_count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment