path: root/qgroup-verify.h
diff options
authorQu Wenruo <>2016-04-18 10:27:07 +0800
committerDavid Sterba <>2016-05-02 14:42:28 +0200
commitf172bd2b8db3b078f5fb515a772b7e59fea43c8f (patch)
treeed8fc1aff2092760f2b3dfd3b517e03a1cefa3cd /qgroup-verify.h
parentb652aeeb382de8bb1a00888f1a1ec27a2a1056b5 (diff)
btrfs-progs: Fix return value bug of qgroups check
Before this patch, although btrfsck will check qgroups if quota is enabled, it always return 0 even qgroup numbers are corrupted. Fix it by allowing return value from report_qgroups function (formally defined as print_qgroup_difference). Signed-off-by: Qu Wenruo <> Signed-off-by: David Sterba <>
Diffstat (limited to 'qgroup-verify.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/qgroup-verify.h b/qgroup-verify.h
index 7d91c197..37474650 100644
--- a/qgroup-verify.h
+++ b/qgroup-verify.h
@@ -23,7 +23,7 @@
#include "ctree.h"
int qgroup_verify_all(struct btrfs_fs_info *info);
-void print_qgroup_report(int all);
+int report_qgroups(int all);
int print_extent_state(struct btrfs_fs_info *info, u64 subvol);