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:
e685da1
)
Btrfs: remove reduplicate check when disabling quota
author
Wang Shilong
<
[email protected]
>
Wed, 14 Aug 2013 01:13:38 +0000
(09:13 +0800)
committer
Chris Mason
<
[email protected]
>
Sun, 1 Sep 2013 12:15:47 +0000
(08:15 -0400)
We have checked 'quota_root' with qgroup_ioctl_lock held before,So
here the check is reduplicate, remove it.
Signed-off-by: Wang Shilong <
[email protected]
>
Reviewed-by: Miao Xie <
[email protected]
>
Reviewed-by: Arne Jansen <
[email protected]
>
Signed-off-by: Josef Bacik <
[email protected]
>
Signed-off-by: Chris Mason <
[email protected]
>
fs/btrfs/qgroup.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/qgroup.c
b/fs/btrfs/qgroup.c
index 01eeffe9ae537fc8b9210c0065c23c9ffa5166be..66c58e120b2c661e657859e9fead7942c6f6d2da 100644
(file)
--- a/
fs/btrfs/qgroup.c
+++ b/
fs/btrfs/qgroup.c
@@
-943,11
+943,6
@@
int btrfs_quota_disable(struct btrfs_trans_handle *trans,
btrfs_free_qgroup_config(fs_info);
- if (!quota_root) {
- ret = -EINVAL;
- goto out;
- }
-
ret = btrfs_clean_quota_tree(trans, quota_root);
if (ret)
goto out;