diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-11-13 19:46:11 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:32 -0400 |
commit | 03c8c747a0f2ee5f2b45ad692d51f6e2bdce21cb (patch) | |
tree | 01975a38866ba2f775ee0d0449f6e51a2694b1fe /fs/bcachefs/util.c | |
parent | 50fe5bd69c6d4a0cba58ee5dc8b9c72c1abc1d60 (diff) | |
download | linux-03c8c747a0f2ee5f2b45ad692d51f6e2bdce21cb.tar.gz linux-03c8c747a0f2ee5f2b45ad692d51f6e2bdce21cb.tar.bz2 linux-03c8c747a0f2ee5f2b45ad692d51f6e2bdce21cb.zip |
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.c')
-rw-r--r-- | fs/bcachefs/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/util.c b/fs/bcachefs/util.c index fc2ca798fbc3..a05ebe475c5a 100644 --- a/fs/bcachefs/util.c +++ b/fs/bcachefs/util.c @@ -556,7 +556,7 @@ size_t bch2_rand_range(size_t max) return rand; } -void memcpy_to_bio(struct bio *dst, struct bvec_iter dst_iter, void *src) +void memcpy_to_bio(struct bio *dst, struct bvec_iter dst_iter, const void *src) { struct bio_vec bv; struct bvec_iter iter; |