projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e5109c
)
f2fs: Use F2FS_P_SB() in f2fs_is_compressed_page()
author
Matthew Wilcox (Oracle)
<willy@infradead.org>
Mon, 31 Mar 2025 20:10:24 +0000
(21:10 +0100)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 28 Apr 2025 15:18:13 +0000
(15:18 +0000)
Remove a reference to page->mapping which is going away soon.
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/compress.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/compress.c
b/fs/f2fs/compress.c
index 668c04e93a955b3c38eabb3ac88982d41038042b..a01567bbcd3313c4b3046ea2b2c271db51ac9db2 100644
(file)
--- a/
fs/f2fs/compress.c
+++ b/
fs/f2fs/compress.c
@@
-82,7
+82,7
@@
bool f2fs_is_compressed_page(struct page *page)
if (page_private_nonpointer(page))
return false;
- f2fs_bug_on(F2FS_
M_SB(page->mapping
),
+ f2fs_bug_on(F2FS_
P_SB(page
),
*((u32 *)page_private(page)) != F2FS_COMPRESSED_PAGE_MAGIC);
return true;
}