diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-07-08 18:03:52 +0100 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2025-07-22 15:57:57 +0000 |
| commit | 0f54eec0cb89887e3ed8ed430f5b9cd513038ca4 (patch) | |
| tree | e9e587380abae8ec1e6e2d66f2955965332c9f51 /fs/f2fs | |
| parent | f2fs: Use a folio in f2fs_encrypted_get_link() (diff) | |
| download | linux-0f54eec0cb89887e3ed8ed430f5b9cd513038ca4.tar.gz linux-0f54eec0cb89887e3ed8ed430f5b9cd513038ca4.zip | |
f2fs: Use F2FS_F_SB() in f2fs_read_end_io()
Get the folio from the bio instead of the page.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
| -rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 1bb4b0c87e36..f1cbbea56a17 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -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(); |
