aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tests/btrfs-tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/tests/btrfs-tests.h')
-rw-r--r--fs/btrfs/tests/btrfs-tests.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/tests/btrfs-tests.h b/fs/btrfs/tests/btrfs-tests.h
index 580877625776..04f2cd2ca568 100644
--- a/fs/btrfs/tests/btrfs-tests.h
+++ b/fs/btrfs/tests/btrfs-tests.h
@@ -24,11 +24,16 @@
24#define test_msg(fmt, ...) pr_info("btrfs: selftest: " fmt, ##__VA_ARGS__) 24#define test_msg(fmt, ...) pr_info("btrfs: selftest: " fmt, ##__VA_ARGS__)
25 25
26int btrfs_test_free_space_cache(void); 26int btrfs_test_free_space_cache(void);
27int btrfs_test_extent_buffer_operations(void);
27#else 28#else
28static inline int btrfs_test_free_space_cache(void) 29static inline int btrfs_test_free_space_cache(void)
29{ 30{
30 return 0; 31 return 0;
31} 32}
33static inline int btrfs_test_extent_buffer_operations(void)
34{
35 return 0;
36}
32#endif 37#endif
33 38
34#endif 39#endif