summaryrefslogtreecommitdiff
path: root/libbcachefs/subvolume.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/subvolume.h')
-rw-r--r--libbcachefs/subvolume.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/subvolume.h b/libbcachefs/subvolume.h
index f884a203..1a39f713 100644
--- a/libbcachefs/subvolume.h
+++ b/libbcachefs/subvolume.h
@@ -121,7 +121,7 @@ static inline int snapshot_list_add(struct bch_fs *c, snapshot_id_list *s, u32 i
{
int ret;
- EBUG_ON(snapshot_list_has_id(s, id));
+ BUG_ON(snapshot_list_has_id(s, id));
ret = darray_push(s, id);
if (ret)
bch_err(c, "error reallocating snapshot_id_list (size %zu)", s->size);