|
@@ -4847,8 +4847,8 @@ static long btrfs_ioctl_qgroup_assign(struct file *file, void __user *arg)
|
|
|
/* update qgroup status and info */
|
|
|
err = btrfs_run_qgroups(trans, root->fs_info);
|
|
|
if (err < 0)
|
|
|
- btrfs_handle_fs_error(root->fs_info, ret,
|
|
|
- "failed to update qgroup status and info\n");
|
|
|
+ btrfs_handle_fs_error(root->fs_info, err,
|
|
|
+ "failed to update qgroup status and info");
|
|
|
err = btrfs_end_transaction(trans, root);
|
|
|
if (err && !ret)
|
|
|
ret = err;
|