path: root/ctree.h
diff options
authorQu Wenruo <>2015-01-16 11:04:09 +0800
committerDavid Sterba <>2015-02-11 17:14:05 +0100
commit0c05f623b13f93105163535f016fc049fa04dbb6 (patch)
treee2d1872b39f0500c697c6511591926fa4986d6b9 /ctree.h
parent56e69234e471bb5982a4928da8e605d9d803b43a (diff)
btrfs-progs: Add support to suppress tree block csum error output
Add new open ctree flag OPEN_CTREE_SUPPRESS_CHECK_BLOCK_ERRORS to suppress tree block csum error output. Provides the basis for new btrfs-find-root and other enhancement on btrfs offline tools output. Signed-off-by: Qu Wenruo <> [renamed vars and funcs, added comments] Signed-off-by: David Sterba <>
Diffstat (limited to 'ctree.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index f4275d9f..901c3400 100644
--- a/ctree.h
+++ b/ctree.h
@@ -998,6 +998,7 @@ struct btrfs_fs_info {
unsigned int on_restoring:1;
unsigned int is_chunk_recover:1;
unsigned int quota_enabled:1;
+ unsigned int suppress_check_block_errors:1;
int (*free_extent_hook)(struct btrfs_trans_handle *trans,
struct btrfs_root *root,
@@ -1006,6 +1007,7 @@ struct btrfs_fs_info {
int refs_to_drop);
struct cache_tree *fsck_extent_cache;
struct cache_tree *corrupt_blocks;