On Fri, Aug 10, 2018 at 10:34:06AM +0800, Qu Wenruo wrote: > 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@xxxxxxxx> Applied, thanks.
