fs: Change the type of filler_t
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 2 May 2022 01:39:29 +0000 (21:39 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 9 May 2022 20:36:48 +0000 (16:36 -0400)
commite9b5b23e957ef9260fec811d8d8081125889308a
treec44ca0b4efda7b78ddbb1ebb4b7ce7736704e6c6
parent6ece0a0452c97fe6cbdce1ff3069248d99f1b4aa
fs: Change the type of filler_t

By making filler_t the same as read_folio, we can use the same function
for both in gfs2.  We can push the use of folios down one more level
in jffs2 and nfs.  We also increase type safety for future users of the
various read_cache_page() family of functions by forcing the parameter
to be a pointer to struct file (or NULL).

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c
fs/jffs2/file.c
fs/jffs2/gc.c
fs/jffs2/os-linux.h
fs/nfs/symlink.c
include/linux/pagemap.h
mm/filemap.c