diff options
author | Ritesh Harjani (IBM) <ritesh.list@gmail.com> | 2023-07-10 14:12:21 -0700 |
---|---|---|
committer | Ritesh Harjani (IBM) <ritesh.list@gmail.com> | 2023-07-25 10:55:54 +0530 |
commit | 3ea5c76cadeedcc0e40e180d2c4e37dc289fee22 (patch) | |
tree | 0739cb8b643a8bca7e1ac3fbb2617a73aba0edf5 /arch/csky | |
parent | 04f52c4e6f8001e2d81006027dac08badddafde8 (diff) |
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 'arch/csky')
0 files changed, 0 insertions, 0 deletions