summaryrefslogtreecommitdiff
path: root/chunk-recover.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-08-10 10:34:06 +0800
committerDavid Sterba <dsterba@suse.com>2018-10-23 14:48:40 +0200
commit51e1faee06ddfe14989282a8e3a1c8e0c6003268 (patch)
tree9e96be0a8c23fb9ca8fc8f309b74184dc62944e0 /chunk-recover.c
parent5d24e630b0e691e60fc8bfffa68558daf8c98277 (diff)
btrfs-progs: qgroup: don't return 1 if qgroup is marked inconsistent during relationship assignment
BTRFS_IOC_QGROUP_ASSIGN ioctl could return >0 if qgroup is marked inconsistent after successful relationship assignment/removal. We leak the return value as the final return value of btrfs command. But according to the man page, return value other than 0 means failure. Fix this by resetting the return value to 0 for --no-rescan case. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'chunk-recover.c')
0 files changed, 0 insertions, 0 deletions