diff options
Diffstat (limited to 'libbcachefs/inode.h')
-rw-r--r-- | libbcachefs/inode.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbcachefs/inode.h b/libbcachefs/inode.h index d1d64a7f..06e2ffda 100644 --- a/libbcachefs/inode.h +++ b/libbcachefs/inode.h @@ -54,4 +54,10 @@ static inline u64 timespec_to_bch2_time(struct bch_fs *c, struct timespec ts) return div_s64(ns, c->sb.time_precision); } +#ifdef CONFIG_BCACHEFS_DEBUG +void bch2_inode_pack_test(void); +#else +static inline void bch2_inode_pack_test(void) {} +#endif + #endif |