diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-07-08 18:03:33 +0100 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2025-07-22 15:56:59 +0000 |
| commit | ad38574a8e8223361e265973fbd87013ea058c5d (patch) | |
| tree | 5ed19a1c6c091a5989892772b315ee13a896a1b7 /fs/f2fs/data.c | |
| parent | e8f46b2c3aef32a4efdf5459b26c1f7d96d81826 (diff) | |
| download | linux-ad38574a8e8223361e265973fbd87013ea058c5d.tar.gz linux-ad38574a8e8223361e265973fbd87013ea058c5d.tar.bz2 linux-ad38574a8e8223361e265973fbd87013ea058c5d.zip | |
f2fs: Pass a folio to ADDRS_PER_PAGE()
All callers now have a folio so pass it 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>
Diffstat (limited to 'fs/f2fs/data.c')
| -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 0e261caf2f91..8a2414ce39ff 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -1588,7 +1588,7 @@ next_dnode: start_pgofs = pgofs; prealloc = 0; last_ofs_in_node = ofs_in_node = dn.ofs_in_node; - end_offset = ADDRS_PER_PAGE(&dn.node_folio->page, inode); + end_offset = ADDRS_PER_PAGE(dn.node_folio, inode); next_block: blkaddr = f2fs_data_blkaddr(&dn); |
