Btrfs: add tests for find_lock_delalloc_range
[deliverable/linux.git] / fs / btrfs / ctree.h
index 9ca15a84cc5ac8f81eabf21349788a8eb391f1c6..2f398062b942632a40c383b1785937e71f09f25a 100644 (file)
@@ -47,6 +47,12 @@ extern struct kmem_cache *btrfs_path_cachep;
 extern struct kmem_cache *btrfs_free_space_cachep;
 struct btrfs_ordered_sum;
 
+#ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS
+#define STATIC noinline
+#else
+#define STATIC static noinline
+#endif
+
 #define BTRFS_MAGIC 0x4D5F53665248425FULL /* ascii _BHRfS_M, no null */
 
 #define BTRFS_MAX_MIRRORS 3
This page took 0.025817 seconds and 5 git commands to generate.