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>
Fri, 25 Feb 2022 14:10:23 +0000 (09:10 -0500)
commite45d01ede365dddbed42e2337266717228b84b31
tree5d91a5694c6a190d77976fad096a6bc144704b42
parent145ee4957c5dcfe748ca7486c28f6e130574acb0
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