btrfs: Update btrfs qgroup status item when rescan is done.
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Fri, 27 Feb 2015 08:24:25 +0000 (16:24 +0800)
committerChris Mason <clm@fb.com>
Mon, 13 Apr 2015 14:52:57 +0000 (07:52 -0700)
commit53b7cde9d5aa58cf7605664f0e34419156b02698
tree54c7779a0c62f542952a867b8f45f08581a596c6
parent3393168d22fd5f1be5b5429a818c10f642e88ae3
btrfs: Update btrfs qgroup status item when rescan is done.

Update qgroup status when rescan is done.

Before this patch, status item is not updated on rescan finish, which
causing the RESCAN and INCONSISTENT flags never cleared.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/qgroup.c