aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <[email protected]>2019-11-25 21:58:51 -0300
committerDavid Sterba <[email protected]>2020-01-20 16:40:50 +0100
commit8a36e408d40606e21cd4e2dd9601004a67b14868 (patch)
treecdca9abf601d77f83004dfcd1d19fe1fcadadfab /tools/perf/scripts/python/export-to-sqlite.py
parente3b0edd29737d44137fc7583a9c185abda6e23b8 (diff)
btrfs: qgroup: return ENOTCONN instead of EINVAL when quotas are not enabled
[PROBLEM] qgroup create/remove code is currently returning EINVAL when the user tries to create a qgroup on a subvolume without quota enabled. EINVAL is already being used for too many error scenarios so that is hard to depict what is the problem. [FIX] Currently scrub and balance code return -ENOTCONN when the user tries to cancel/pause and no scrub or balance is currently running for the desired subvolume. Do the same here by returning -ENOTCONN when a user tries to create/delete/assing/list a qgroup on a subvolume without quota enabled. Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Marcos Paulo de Souza <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions