summaryrefslogtreecommitdiff
path: root/libbcachefs/io_write.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-05-29 19:54:39 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-05-29 20:18:40 -0400
commit4613023c166e95bd37eef957a82080b2c7625d0d (patch)
treea48047c93ed9d1fc2d2b41c1947ce3fa2762fdf1 /libbcachefs/io_write.c
parentadb8bdd53d7ab156aebebb39c875c4ce19a622ac (diff)
Update bcachefs sources to 7f938192650f bcachefs: darray_find(), darray_find_p()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/io_write.c')
-rw-r--r--libbcachefs/io_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/io_write.c b/libbcachefs/io_write.c
index 951f28df..52a60982 100644
--- a/libbcachefs/io_write.c
+++ b/libbcachefs/io_write.c
@@ -474,7 +474,7 @@ void bch2_submit_wbio_replicas(struct bch_write_bio *wbio, struct bch_fs *c,
BUG_ON(c->opts.nochanges);
- const struct bch_extent_ptr *last;
+ const struct bch_extent_ptr *last = NULL;
bkey_for_each_ptr(ptrs, ptr)
last = ptr;