* Boston, MA 021110-1307, USA.
*/
-#ifndef _BTRFS_QGROUP_VERIFY_H
-#define _BTRFS_QGROUP_VERIFY_H
+#ifndef __BTRFS_QGROUP_VERIFY_H__
+#define __BTRFS_QGROUP_VERIFY_H__
+
+#include "kerncompat.h"
+#include "ctree.h"
int qgroup_verify_all(struct btrfs_fs_info *info);
-void print_qgroup_report(int all);
+void report_qgroups(int all);
+int repair_qgroups(struct btrfs_fs_info *info, int *repaired);
int print_extent_state(struct btrfs_fs_info *info, u64 subvol);
-#endif /* _BTRFS_QGROUP_VERIFY_H */
+void free_qgroup_counts(void);
+
+#endif