summaryrefslogtreecommitdiff
path: root/libbcachefs/util.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-12-01 11:20:40 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2022-12-01 11:20:40 -0500
commitf82cd58008706da43dd652dd9191511f2786d15d (patch)
treeac17f8b87c2a1ce747c94b0ebf807bc344c5e270 /libbcachefs/util.h
parent0c98cd7bf6617468f08b2d01a4313c0f1b7f0f03 (diff)
Update bcachefs sources to f1c9030ccb bcachefs: Don't error out when just reading the journal
Diffstat (limited to 'libbcachefs/util.h')
-rw-r--r--libbcachefs/util.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/libbcachefs/util.h b/libbcachefs/util.h
index 39a4b1e1..473c9696 100644
--- a/libbcachefs/util.h
+++ b/libbcachefs/util.h
@@ -582,20 +582,6 @@ static inline void memmove_u64s_down(void *dst, const void *src,
__memmove_u64s_down(dst, src, u64s);
}
-static inline void __memmove_u64s_down_small(void *dst, const void *src,
- unsigned u64s)
-{
- memcpy_u64s_small(dst, src, u64s);
-}
-
-static inline void memmove_u64s_down_small(void *dst, const void *src,
- unsigned u64s)
-{
- EBUG_ON(dst > src);
-
- __memmove_u64s_down_small(dst, src, u64s);
-}
-
static inline void __memmove_u64s_up_small(void *_dst, const void *_src,
unsigned u64s)
{