summaryrefslogtreecommitdiff
path: root/qgroup-verify.h
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2016-07-26 13:24:39 +0100
committerDimitri John Ledkov <xnox@ubuntu.com>2016-07-26 13:24:39 +0100
commit3d69435ee3292b4b1db2d61c4784789d75883821 (patch)
tree2c0edc9d9501374799875af36259089feb99d48c /qgroup-verify.h
Imported Upstream version 4.6.1
Diffstat (limited to 'qgroup-verify.h')
-rw-r--r--qgroup-verify.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/qgroup-verify.h b/qgroup-verify.h
new file mode 100644
index 00000000..0f8ff9b3
--- /dev/null
+++ b/qgroup-verify.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2014 SUSE. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License v2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 021110-1307, USA.
+ */
+
+#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);
+int report_qgroups(int all);
+
+int print_extent_state(struct btrfs_fs_info *info, u64 subvol);
+
+void free_qgroup_counts(void);
+
+#endif