fs: Change try_to_free_buffers() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 1 May 2022 05:08:08 +0000 (01:08 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 10 May 2022 03:12:34 +0000 (23:12 -0400)
commit68189fef88c7d02eb92e038be3d6428ebd0d2945
tree27aa837e7dde746eca2904f548a3a17644a48337
parent731222557a69003bb27280b0750183803fa79770
fs: Change try_to_free_buffers() to take a folio

All but two of the callers already have a folio; pass a folio into
try_to_free_buffers().  This removes the last user of cancel_dirty_page()
so remove that wrapper function too.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
16 files changed:
fs/buffer.c
fs/ext4/inode.c
fs/gfs2/aops.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/jbd2/commit.c
fs/jbd2/transaction.c
fs/mpage.c
fs/ocfs2/aops.c
fs/reiserfs/inode.c
fs/reiserfs/journal.c
include/linux/buffer_head.h
include/linux/pagemap.h
mm/filemap.c
mm/migrate.c
mm/vmscan.c