diff options
author | Ritesh Harjani (IBM) <ritesh.list@gmail.com> | 2023-07-11 00:12:21 +0300 |
---|---|---|
committer | Ritesh Harjani (IBM) <ritesh.list@gmail.com> | 2023-07-25 08:25:54 +0300 |
commit | 3ea5c76cadeedcc0e40e180d2c4e37dc289fee22 (patch) | |
tree | 0739cb8b643a8bca7e1ac3fbb2617a73aba0edf5 /lib/mpi/mpi-sub-ui.c | |
parent | 04f52c4e6f8001e2d81006027dac08badddafde8 (diff) | |
download | linux-3ea5c76cadeedcc0e40e180d2c4e37dc289fee22.tar.xz |
iomap: Drop ifs argument from iomap_set_range_uptodate()
iomap_folio_state (ifs) can be derived directly from the folio, making it
unnecessary to pass "ifs" as an argument to iomap_set_range_uptodate().
This patch eliminates "ifs" argument from iomap_set_range_uptodate()
function.
Also, the definition of iomap_set_range_uptodate() and
ifs_set_range_uptodate() functions are moved above ifs_alloc().
In upcoming patches, we plan to introduce additional helper routines for
handling dirty state, with the intention of consolidating all of "ifs"
state handling routines at one place.
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions