summaryrefslogtreecommitdiff
path: root/check/lowmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'check/lowmem.h')
-rw-r--r--check/lowmem.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/check/lowmem.h b/check/lowmem.h
index e6ca7634..d1051a0b 100644
--- a/check/lowmem.h
+++ b/check/lowmem.h
@@ -20,6 +20,8 @@
#ifndef __BTRFS_CHECK_LOWMEM_H__
#define __BTRFS_CHECK_LOWMEM_H__
+#include "check/common.h"
+
#define ROOT_DIR_ERROR (1<<1) /* bad ROOT_DIR */
#define DIR_ITEM_MISSING (1<<2) /* DIR_ITEM not found */
#define DIR_ITEM_MISMATCH (1<<3) /* DIR_ITEM found but not match */
@@ -59,4 +61,7 @@
#define ACCOUNTING_MISMATCH (1 << 7) /* Used space accounting error */
#define CHUNK_TYPE_MISMATCH (1 << 8)
+int check_fs_roots_v2(struct btrfs_fs_info *fs_info);
+int check_chunks_and_extents_v2(struct btrfs_fs_info *fs_info);
+
#endif