summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/io_write.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-17 03:40:26 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 17:47:42 +0100
commitdefd9e39b59961ea0fd774020fb5c05dba199412 (patch)
tree25875b3bd5b7af3a67b159c9ca674ccc76967c0d /fs/bcachefs/io_write.c
parentbcachefs: trans_for_each_update() now declares loop iter (diff)
downloadlinux-defd9e39b59961ea0fd774020fb5c05dba199412.tar.xz
linux-defd9e39b59961ea0fd774020fb5c05dba199412.zip
bcachefs: darray_for_each() now declares loop iter
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/io_write.c')
-rw-r--r--fs/bcachefs/io_write.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/io_write.c b/fs/bcachefs/io_write.c
index 2817f27909b3..d8306c190150 100644
--- a/fs/bcachefs/io_write.c
+++ b/fs/bcachefs/io_write.c
@@ -1230,7 +1230,6 @@ static void bch2_nocow_write(struct bch_write_op *op)
struct bkey_ptrs_c ptrs;
const struct bch_extent_ptr *ptr;
DARRAY_PREALLOCATED(struct bucket_to_lock, 3) buckets;
- struct bucket_to_lock *i;
u32 snapshot;
struct bucket_to_lock *stale_at;
int ret;