mm: Add folio_pgoff()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 3 Feb 2022 04:29:45 +0000 (23:29 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:59:02 +0000 (12:59 -0400)
commitf087b903fc2e4975bff9742a66ee7a837a2f545b
tree44458a068d264ff0559b1c77a5d246dd0c1d510b
parent346cf61311f6e348337e95aa2febe29e86137f42
mm: Add folio_pgoff()

This is the folio equivalent of page_to_pgoff().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/linux/pagemap.h