Browse Source

btrfs: remove unused mnt from send_ctx

Unused since ed2590953bd06b892f0411fc94e19175d32f197a
"Btrfs: stop using vfs_read in send".

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
David Sterba 11 years ago
parent
commit
a8d89f5ba0
1 changed files with 0 additions and 4 deletions
  1. 0 4
      fs/btrfs/send.c

+ 0 - 4
fs/btrfs/send.c

@@ -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_)
 		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;