Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5798b92d authored by Liu Bo's avatar Liu Bo Committed by Josef Bacik
Browse files

Btrfs: remove useless copy in quota_ctl



We don't need to copy it back to user side as it remains unchanged.

Signed-off-by: default avatarLiu Bo <bo.li.liu@oracle.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent 1c89cdd1
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -3719,9 +3719,6 @@ static long btrfs_ioctl_quota_ctl(struct file *file, void __user *arg)
		break;
	}

	if (copy_to_user(arg, sa, sizeof(*sa)))
		ret = -EFAULT;

	err = btrfs_commit_transaction(trans, root->fs_info->tree_root);
	if (err && !ret)
		ret = err;