diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2015-01-16 11:04:09 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-02-11 17:14:05 +0100 |
commit | 0c05f623b13f93105163535f016fc049fa04dbb6 (patch) | |
tree | e2d1872b39f0500c697c6511591926fa4986d6b9 /ctree.h | |
parent | 56e69234e471bb5982a4928da8e605d9d803b43a (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 <quwenruo@cn.fujitsu.com>
[renamed vars and funcs, added comments]
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; + }; /* |