summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-cpu.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2015-02-27 09:24:24 +0100
committerChris Mason <clm@fb.com>2015-04-13 16:52:55 +0200
commit3393168d22fd5f1be5b5429a818c10f642e88ae3 (patch)
tree58f98954833569661097337c861ce83324dc63e7 /block/blk-mq-cpu.c
parentbtrfs: Don't allow subvolid >= (1 << BTRFS_QGROUP_LEVEL_SHIFT) to be created (diff)
downloadlinux-3393168d22fd5f1be5b5429a818c10f642e88ae3.tar.xz
linux-3393168d22fd5f1be5b5429a818c10f642e88ae3.zip
btrfs: qgroup: Fix dead judgement on qgroup_rescan_leaf() return value.
Old qgroup_rescan_leaf() comment indicates ret == 2 as complete and cleared INCONSISTENT flag. This is not true since it will never return 2, and inside it no codes will clear INCONSISTENT flag. The flag clearance is done in btrfs_qgroup_rescan_work(). This caused the bug that INCONSISTENT flag is never cleared. So change the comment and fix the dead judgment. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'block/blk-mq-cpu.c')
0 files changed, 0 insertions, 0 deletions