diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2025-06-12 14:41:25 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-06-13 12:19:34 +0000 |
| commit | f826ec7966a63d48e16e0868af4e038bf9a1a3ae (patch) | |
| tree | 319b61a8534bb101e46271c7effe1647985bb610 /lib/crypto/mpi/mpicoder.c | |
| parent | block: use plug request list tail for one-shot backmerge attempt (diff) | |
| download | kernel-f826ec7966a63d48e16e0868af4e038bf9a1a3ae.tar.gz kernel-f826ec7966a63d48e16e0868af4e038bf9a1a3ae.zip | |
bio: Fix bio_first_folio() for SPARSEMEM without VMEMMAP
It is possible for physically contiguous folios to have discontiguous
struct pages if SPARSEMEM is enabled and SPARSEMEM_VMEMMAP is not.
This is correctly handled by folio_page_idx(), so remove this open-coded
implementation.
Fixes: 640d1930bef4 (block: Add bio_for_each_folio_all())
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
