diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-17 08:19:23 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 17:47:42 +0100 |
commit | cea07a7b6ac2cd9f40e20a5010203014c4996eb2 (patch) | |
tree | 6b7d76ce014dcc8db154c69784c492746b11791e /fs/bcachefs/journal_io.c | |
parent | bcachefs: for_each_member_device_rcu() now declares loop iter (diff) | |
download | linux-cea07a7b6ac2cd9f40e20a5010203014c4996eb2.tar.xz linux-cea07a7b6ac2cd9f40e20a5010203014c4996eb2.zip |
bcachefs: vstruct_for_each() now declares loop iter
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_io.c')
-rw-r--r-- | fs/bcachefs/journal_io.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/journal_io.c b/fs/bcachefs/journal_io.c index 364aca3b78fe..671a6820bc0c 100644 --- a/fs/bcachefs/journal_io.c +++ b/fs/bcachefs/journal_io.c @@ -783,7 +783,6 @@ void bch2_journal_entry_to_text(struct printbuf *out, struct bch_fs *c, static int jset_validate_entries(struct bch_fs *c, struct jset *jset, enum bkey_invalid_flags flags) { - struct jset_entry *entry; unsigned version = le32_to_cpu(jset->version); int ret = 0; @@ -1723,7 +1722,7 @@ static CLOSURE_CALLBACK(do_journal_write) static int bch2_journal_write_prep(struct journal *j, struct journal_buf *w) { struct bch_fs *c = container_of(j, struct bch_fs, journal); - struct jset_entry *start, *end, *i; + struct jset_entry *start, *end; struct jset *jset = w->data; struct journal_keys_to_wb wb = { NULL }; unsigned sectors, bytes, u64s; |