iomap,xfs: Convert ->discard_page to ->discard_folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 30 Jul 2021 13:56:05 +0000 (09:56 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 18 Dec 2021 05:06:07 +0000 (00:06 -0500)
commit6e478521df535b9d5ef5eb84d4352f235bbbef99
tree44e51c7e20e38873b393e7fbc09e69ee203347e6
parent9c4ce08dd21145d10775c6ce6f21330a9558f8d9
iomap,xfs: Convert ->discard_page to ->discard_folio

XFS has the only implementation of ->discard_page today, so convert it
to use folios in the same patch as converting the API.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c
fs/xfs/xfs_aops.c
include/linux/iomap.h