projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
180e4d4
)
btrfs: pass the right error code to the btrfs_std_error
author
Anand Jain
<
[email protected]
>
Thu, 10 Mar 2016 04:22:15 +0000
(12:22 +0800)
committer
David Sterba
<
[email protected]
>
Mon, 2 May 2016 15:50:13 +0000
(17:50 +0200)
Also drop the newline from the message.
Signed-off-by: Anand Jain <
[email protected]
>
Signed-off-by: David Sterba <
[email protected]
>
fs/btrfs/ioctl.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/ioctl.c
b/fs/btrfs/ioctl.c
index 0f76aea6e398e746fef83374aa9be021767f7a80..03df0bbb445d8ab62d920d8c5b6937fb6b70a70c 100644
(file)
--- a/
fs/btrfs/ioctl.c
+++ b/
fs/btrfs/ioctl.c
@@
-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;