From 0c05f623b13f93105163535f016fc049fa04dbb6 Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Fri, 16 Jan 2015 11:04:09 +0800 Subject: 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 --- ctree.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ctree.h') 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; + }; /* -- cgit v1.2.3