xfs: add file_{get,put}_folio
Add helper similar to file_{get,set}_page, but which deal with folios
and don't allocate new folio unless explicitly asked to, which map
to shmem_get_folio instead of calling into the aops.
Signed-off-by:
"Darrick J. Wong" <djwong@kernel.org>
Signed-off-by:
Christoph Hellwig <hch@lst.de>
Reviewed-by:
Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by:
Chandan Babu R <chandanbabu@kernel.org>
Loading
Please sign in to comment