Commit 0f54eec0 authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Jaegeuk Kim
Browse files

f2fs: Use F2FS_F_SB() in f2fs_read_end_io()



Get the folio from the bio instead of the page.

Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 015622b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -278,7 +278,7 @@ static void f2fs_post_read_work(struct work_struct *work)

static void f2fs_read_end_io(struct bio *bio)
{
	struct f2fs_sb_info *sbi = F2FS_P_SB(bio_first_page_all(bio));
	struct f2fs_sb_info *sbi = F2FS_F_SB(bio_first_folio_all(bio));
	struct bio_post_read_ctx *ctx;
	bool intask = in_task();