diff options
author | Ritesh Harjani (IBM) <ritesh.list@gmail.com> | 2023-07-11 00:12:24 +0300 |
---|---|---|
committer | Ritesh Harjani (IBM) <ritesh.list@gmail.com> | 2023-07-25 08:25:56 +0300 |
commit | 7f79d85b525b3494ab0d28ba1fd2a01874d0fc8a (patch) | |
tree | 4abade11ee8d4d3add238e7c4ce8aab510db80f9 /lib/mpi/mpi-sub-ui.c | |
parent | 0af2b37d8e7a3da90c94862abb18c8b2853f81ea (diff) | |
download | linux-7f79d85b525b3494ab0d28ba1fd2a01874d0fc8a.tar.xz |
iomap: Refactor iomap_write_delalloc_punch() function out
This patch factors iomap_write_delalloc_punch() function out. This function
is resposible for actual punch out operation.
The reason for doing this is, to avoid deep indentation when we bring
punch-out of individual non-dirty blocks within a dirty folio in a later
patch (which adds per-block dirty status handling to iomap) to avoid
delalloc block leak.
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions