diff options
| author | Christoph Hellwig <[email protected]> | 2023-12-07 08:27:07 +0100 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-02-01 14:20:12 +0100 |
| commit | f525152a0f0ff34eb92b322703d76ba37095f556 (patch) | |
| tree | 596ea4b5f90b906b107aa695893bd02df55163a7 /drivers/usb/cdns3/cdns3-trace.h | |
| parent | 6b865d6530230b0c446efd93e0207b8eed7eadb2 (diff) | |
iomap: factor out a iomap_writepage_map_block helper
Split the loop body that calls into the file system to map a block and
add it to the ioend into a separate helper to prefer for refactoring of
the surrounding code.
Note that this was the only place in iomap_writepage_map that could
return an error, so include the call to ->discard_folio into the new
helper as that will help to avoid code duplication in the future.
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions