]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/btrfs/ctree.h
Btrfs: add a extent ref verify tool
[mirror_ubuntu-bionic-kernel.git] / fs / btrfs / ctree.h
index 2fcc3c30d471fd95aee3e8e4e942f27d016e6fde..e2afe524e25ea4d377bf769746a946c3912852da 100644 (file)
@@ -1097,6 +1097,11 @@ struct btrfs_fs_info {
        u32 nodesize;
        u32 sectorsize;
        u32 stripesize;
+
+#ifdef CONFIG_BTRFS_FS_REF_VERIFY
+       spinlock_t ref_verify_lock;
+       struct rb_root block_tree;
+#endif
 };
 
 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb)