diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-07-08 18:03:24 +0100 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2025-07-22 15:56:33 +0000 |
| commit | ac576da7c950984c7bbb71c1b557187c58758d16 (patch) | |
| tree | 4e0e2d3712b77c0f1d2701c247ced84af210efea /fs/f2fs/node.h | |
| parent | f2fs: Pass a folio to f2fs_recover_xattr_data() (diff) | |
| download | linux-ac576da7c950984c7bbb71c1b557187c58758d16.tar.gz linux-ac576da7c950984c7bbb71c1b557187c58758d16.zip | |
f2fs: Pass a folio to is_fsync_dnode()
Both callers 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/node.h')
| -rw-r--r-- | fs/f2fs/node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h index 78a9a411fe77..b8ec837f423c 100644 --- a/fs/f2fs/node.h +++ b/fs/f2fs/node.h @@ -404,7 +404,7 @@ static inline int is_node(const struct page *page, int type) } #define is_cold_node(page) is_node(page, COLD_BIT_SHIFT) -#define is_fsync_dnode(page) is_node(page, FSYNC_BIT_SHIFT) +#define is_fsync_dnode(folio) is_node(&folio->page, FSYNC_BIT_SHIFT) #define is_dent_dnode(page) is_node(page, DENT_BIT_SHIFT) static inline void set_cold_node(const struct folio *folio, bool is_dir) |
