diff options
author | Matthew Wilcox (Oracle) | 2022-05-01 00:46:03 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) | 2022-05-09 23:12:33 -0400 |
commit | c56a6eb03deb187c989a966fda5a254249b56c2a (patch) | |
tree | bb27d2572966b028f2efa7df5bf67f449869ab12 /fs/ext4 | |
parent | be6b969c9b2fc5365c988634ffafd186146aee93 (diff) |
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>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 52c46ac5bc8a..943937cb5302 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -3253,7 +3253,7 @@ static bool ext4_release_folio(struct folio *folio, gfp_t wait) if (folio_test_checked(folio)) return false; if (journal) - return jbd2_journal_try_to_free_buffers(journal, &folio->page); + return jbd2_journal_try_to_free_buffers(journal, folio); else return try_to_free_buffers(&folio->page); } |