summaryrefslogtreecommitdiff
path: root/libbcachefs/util.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-03-19 10:15:48 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-19 10:18:56 -0400
commit62ea232b09a6ed6464ccd23d3b60f5acf284a77b (patch)
tree836c5603fce33a4d3c7379607ec48017ec37bea4 /libbcachefs/util.h
parent64ce740ac675de883ed6ce99be134a1096708063 (diff)
Update bcachefs sources to dbe591cee299 bcachefs: Add missing smp_rmb()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/util.h')
-rw-r--r--libbcachefs/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs/util.h b/libbcachefs/util.h
index f0e360eb..d41e133a 100644
--- a/libbcachefs/util.h
+++ b/libbcachefs/util.h
@@ -401,6 +401,8 @@ do { \
_ret; \
})
+u64 bch2_get_random_u64_below(u64);
+
void memcpy_to_bio(struct bio *, struct bvec_iter, const void *);
void memcpy_from_bio(void *, struct bio *, struct bvec_iter);