summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-05-01 14:35:31 +0300
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-05-10 06:12:52 +0300
commitd2329aa0c78f4a8dd368bb706f196ab99f692eaa (patch)
tree8dcdbf74ed2e54f05633b58585aa0bcb9027c046 /include/linux/fs.h
parent6439476311a649594124c4cf42f8389661f04e4f (diff)
downloadlinux-d2329aa0c78f4a8dd368bb706f196ab99f692eaa.tar.xz
fs: Add free_folio address space operation
Include documentation and convert the callers to use ->free_folio as well as ->freepage. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 1cee64d9724b..915844e6293e 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -356,6 +356,7 @@ struct address_space_operations {
sector_t (*bmap)(struct address_space *, sector_t);
void (*invalidate_folio) (struct folio *, size_t offset, size_t len);
bool (*release_folio)(struct folio *, gfp_t);
+ void (*free_folio)(struct folio *folio);
void (*freepage)(struct page *);
ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter);
/*