Skip to content

Commit 816aa30

Browse files
Matthew Wilcox (Oracle)Jaegeuk Kim
authored andcommitted
f2fs: Remove F2FS_P_SB()
All callers have been converted to F2FS_F_SB() so delete this wrapper. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
1 parent 5fb60c0 commit 816aa30

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

fs/f2fs/f2fs.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,11 +2026,6 @@ static inline struct f2fs_sb_info *F2FS_F_SB(const struct folio *folio)
20262026
return F2FS_M_SB(folio->mapping);
20272027
}
20282028

2029-
static inline struct f2fs_sb_info *F2FS_P_SB(struct page *page)
2030-
{
2031-
return F2FS_F_SB(page_folio(page));
2032-
}
2033-
20342029
static inline struct f2fs_super_block *F2FS_RAW_SUPER(struct f2fs_sb_info *sbi)
20352030
{
20362031
return (struct f2fs_super_block *)(sbi->raw_super);

0 commit comments

Comments
 (0)