jbd2: Convert jbd2_journal_try_to_free_buffers to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 1 May 2022 04:46:03 +0000 (00:46 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 10 May 2022 03:12:33 +0000 (23:12 -0400)
commitc56a6eb03deb187c989a966fda5a254249b56c2a
treebb27d2572966b028f2efa7df5bf67f449869ab12
parentbe6b969c9b2fc5365c988634ffafd186146aee93
jbd2: Convert jbd2_journal_try_to_free_buffers to take a folio

Also convert it to return a bool since it's called from release_folio().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
fs/ext4/inode.c
fs/jbd2/transaction.c
include/linux/jbd2.h