diff options
Diffstat (limited to 'libbcachefs/snapshot.h')
-rw-r--r-- | libbcachefs/snapshot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/snapshot.h b/libbcachefs/snapshot.h index b7d2fed3..3fdb41b3 100644 --- a/libbcachefs/snapshot.h +++ b/libbcachefs/snapshot.h @@ -77,7 +77,7 @@ static inline u32 __bch2_snapshot_parent(struct bch_fs *c, u32 id) return 0; u32 parent = s->parent; - if (IS_ENABLED(CONFIG_BCACHEFS_DEBU) && + if (IS_ENABLED(CONFIG_BCACHEFS_DEBUG) && parent && s->depth != snapshot_t(c, parent)->depth + 1) panic("id %u depth=%u parent %u depth=%u\n", |