summaryrefslogtreecommitdiff
path: root/fs/bcachefs/util.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-11-14 03:46:11 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:32 +0300
commit03c8c747a0f2ee5f2b45ad692d51f6e2bdce21cb (patch)
tree01975a38866ba2f775ee0d0449f6e51a2694b1fe /fs/bcachefs/util.h
parent50fe5bd69c6d4a0cba58ee5dc8b9c72c1abc1d60 (diff)
downloadlinux-03c8c747a0f2ee5f2b45ad692d51f6e2bdce21cb.tar.xz
bcachefs: Make memcpy_to_bio() param const
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/util.h')
-rw-r--r--fs/bcachefs/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h
index 33589362f5df..1780a6831136 100644
--- a/fs/bcachefs/util.h
+++ b/fs/bcachefs/util.h
@@ -539,7 +539,7 @@ do { \
size_t bch2_rand_range(size_t);
-void memcpy_to_bio(struct bio *, struct bvec_iter, void *);
+void memcpy_to_bio(struct bio *, struct bvec_iter, const void *);
void memcpy_from_bio(void *, struct bio *, struct bvec_iter);
static inline void memcpy_u64s_small(void *dst, const void *src,