From: David Sterba Date: Mon, 16 Dec 2013 16:34:14 +0000 (+0100) Subject: btrfs: remove unused mnt from send_ctx X-Git-Tag: v4.14-rc1~7501^2~241 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8d89f5ba0e17622cde8f5ac48ef745a9fb1e13b;p=platform%2Fkernel%2Flinux-rpi.git btrfs: remove unused mnt from send_ctx Unused since ed2590953bd06b892f0411fc94e19175d32f197a "Btrfs: stop using vfs_read in send". Signed-off-by: David Sterba Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index 8230d11f2cca..e98c9bc003c8 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -88,8 +88,6 @@ struct send_ctx { u64 cmd_send_size[BTRFS_SEND_C_MAX + 1]; u64 flags; /* 'flags' member of btrfs_ioctl_send_args is u64 */ - struct vfsmount *mnt; - struct btrfs_root *send_root; struct btrfs_root *parent_root; struct clone_root *clone_roots; @@ -4851,8 +4849,6 @@ long btrfs_ioctl_send(struct file *mnt_file, void __user *arg_) goto out; } - sctx->mnt = mnt_file->f_path.mnt; - sctx->send_root = send_root; sctx->clone_roots_cnt = arg->clone_sources_count;