diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-21 15:47:15 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:43 -0500 |
commit | 0beebd92457c3221b59840487591c1dff8071168 (patch) | |
tree | b9a4e530465a43302c524afffda7a444cadddf8e /fs/bcachefs/ec.c | |
parent | 0bc64d7e2649f735eaa4ba7d422da446505ef89a (diff) | |
download | lwn-0beebd92457c3221b59840487591c1dff8071168.tar.gz lwn-0beebd92457c3221b59840487591c1dff8071168.zip |
bcachefs: bkey_for_each_ptr() now declares loop iter
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.c')
-rw-r--r-- | fs/bcachefs/ec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index 0e5c455557a9..e89185a28e08 100644 --- a/fs/bcachefs/ec.c +++ b/fs/bcachefs/ec.c @@ -161,7 +161,6 @@ static const struct bch_extent_ptr *bkey_matches_stripe(struct bch_stripe *s, struct bkey_s_c k, unsigned *block) { struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k); - const struct bch_extent_ptr *ptr; unsigned i, nr_data = s->nr_blocks - s->nr_redundant; bkey_for_each_ptr(ptrs, ptr) |