summaryrefslogtreecommitdiff
path: root/libbcachefs/subvolume.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-06-10 22:13:01 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-06-10 22:15:00 -0400
commit17d1c4f4fe29453fbb4087eb5de8aa6f9e6605c7 (patch)
tree84a0fb52242d7890ff6b2eb8c449b696f2edd844 /libbcachefs/subvolume.h
parent7a66cf70c5d8b02f84595e5648c12e7422e4d03e (diff)
Update bcachefs sources to ed6b7f81a7 six locks: Disable percpu read lock mode in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
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 1a39f713..f884a203 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;
- BUG_ON(snapshot_list_has_id(s, id));
+ EBUG_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);