Home
last modified time | relevance | path

Searched hist:"3 ea5c76c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/iomap/
H A Dbuffered-io.c3ea5c76c Mon Jul 10 16:12:21 CDT 2023 Ritesh Harjani (IBM) <ritesh.list@gmail.com> 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>