We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daabedd commit 4eb9bd1Copy full SHA for 4eb9bd1
fs/jbd2/journal.c
@@ -360,8 +360,8 @@ int jbd2_journal_write_metadata_buffer(transaction_t *transaction,
360
new_folio = virt_to_folio(jh_in->b_frozen_data);
361
new_offset = offset_in_folio(new_folio, jh_in->b_frozen_data);
362
} else {
363
- new_folio = jh2bh(jh_in)->b_folio;
364
- new_offset = offset_in_folio(new_folio, jh2bh(jh_in)->b_data);
+ new_folio = bh_in->b_folio;
+ new_offset = offset_in_folio(new_folio, bh_in->b_data);
365
}
366
367
mapped_data = kmap_local_folio(new_folio, new_offset);
0 commit comments