Skip to content

Commit

Permalink
Merge pull request #1868 from phillxnet/1867_shares_unmounted_after_r…
Browse files Browse the repository at this point in the history
…eboot_-_3.9.2-3

don't raise exception on quota not enabled. Fixes #1867
  • Loading branch information
schakrava authored Dec 11, 2017
2 parents 9564baa + c9eecdd commit 980cddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rockstor/fs/btrfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ def volume_usage(pool, volume_id, pvolume_id=None):
current real size we can indistinctly use one of them.
"""
cmd = [BTRFS, 'qgroup', 'show', volume_dir]
out, err, rc = run_command(cmd, log=True)
out, err, rc = run_command(cmd, log=True, throw=False)
volume_id_sizes = [0, 0]
pvolume_id_sizes = [0, 0]
for line in out:
Expand Down

0 comments on commit 980cddd

Please sign in to comment.