commit | 683cebda90787730d5260eac0da7c2bff9fb40ef | [log] [tgz] |
---|---|---|
author | Wang Shilong <wangsl-fnst@cn.fujitsu.com> | Wed Feb 20 14:16:14 2013 +0000 |
committer | Josef Bacik <jbacik@fusionio.com> | Wed Feb 20 13:00:07 2013 -0500 |
tree | e2ed3c2cb509502daef0bbe149c53b1f0f7a9342 | |
parent | fa6ac8765c48a06dfed914e8c8c3a903f9d313a0 [diff] |
Btrfs: fix missing check before disabling quota The original code forget to check whether quota has been disabled firstly, and it will return 'EINVAL' and return error to users if quota has been disabled,it will be unfriendly and confusing for users to see that. So just return directly if quota has been disabled. Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com> Cc: Arne Jansen <sensille@gmx.net> Signed-off-by: Josef Bacik <jbacik@fusionio.com>