projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1db30d8
)
f2fs: Remove access to page->mapping in f2fs_is_cp_guaranteed()
author
Matthew Wilcox (Oracle)
<willy@infradead.org>
Mon, 31 Mar 2025 20:10:27 +0000
(21:10 +0100)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 28 Apr 2025 15:18:13 +0000
(15:18 +0000)
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>
fs/f2fs/data.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/data.c
b/fs/f2fs/data.c
index
5759a8d
..
2b31471
100644
(file)
--- a/
fs/f2fs/data.c
+++ b/
fs/f2fs/data.c
@@
-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;