ext4: Correct ext4_journalled_dirty_folio() conversion
This should use the new folio_buffers() instead of page_has_buffers(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
d7414ba14a
commit
0f25233663
|
@ -3589,7 +3589,7 @@ const struct iomap_ops ext4_iomap_report_ops = {
|
|||
static bool ext4_journalled_dirty_folio(struct address_space *mapping,
|
||||
struct folio *folio)
|
||||
{
|
||||
WARN_ON_ONCE(!page_has_buffers(&folio->page));
|
||||
WARN_ON_ONCE(!folio_buffers(folio));
|
||||
folio_set_checked(folio);
|
||||
return filemap_dirty_folio(mapping, folio);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue