From: Wang Shilong Date: Sun, 7 Apr 2013 10:50:20 +0000 (+0000) Subject: Btrfs: fix a warning when updating qgroup limit X-Git-Tag: v3.10-rc1~31^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddb47afa50f2f2713ef28d22380d3bf8fae648db;p=pandora-kernel.git Btrfs: fix a warning when updating qgroup limit Step to reproduce: mkfs.btrfs mount btrfs quota enable btrfs qgroup limit 0/1 dmesg If the relative qgroup dosen't exist, flag 'BTRFS_QGROUP_STATUS_ FLAG_INCONSISTENT' will be set, and print the noise message. This is wrong, we can just move find_qgroup_rb() before update_qgroup_limit_item().this dosen't change the logic of the function. But it can avoid unnecessary noise message and wrong set of flag. Signed-off-by: Wang Shilong Signed-off-by: Josef Bacik --- Reading git-diff-tree failed