btrfs: hide test-only member under ifdef

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba
2016-07-15 15:23:37 +02:00
parent aee133afcd
commit 05653ef386
2 changed files with 4 additions and 0 deletions

View File

@@ -1181,8 +1181,10 @@ struct btrfs_root {
u64 highest_objectid;
#ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS
/* only used with CONFIG_BTRFS_FS_RUN_SANITY_TESTS is enabled */
u64 alloc_bytenr;
#endif
u64 defrag_trans_start;
struct btrfs_key defrag_progress;