mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
f2fs: Remove access to page->mapping in f2fs_is_cp_guaranteed()
page->mapping will be removed soon, so call page_folio() on the page that was passed in. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
1db30d8236
commit
6f8b9318c6
|
|
@ -49,7 +49,7 @@ void f2fs_destroy_bioset(void)
|
|||
|
||||
bool f2fs_is_cp_guaranteed(struct page *page)
|
||||
{
|
||||
struct address_space *mapping = page->mapping;
|
||||
struct address_space *mapping = page_folio(page)->mapping;
|
||||
struct inode *inode;
|
||||
struct f2fs_sb_info *sbi;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user