diff options
Diffstat (limited to 'fs/f2fs/node.h')
-rw-r--r-- | fs/f2fs/node.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h index 8a116a407599..b24f588a0fe4 100644 --- a/fs/f2fs/node.h +++ b/fs/f2fs/node.h | |||
@@ -197,8 +197,7 @@ static inline void copy_node_footer(struct page *dst, struct page *src) | |||
197 | 197 | ||
198 | static inline void fill_node_footer_blkaddr(struct page *page, block_t blkaddr) | 198 | static inline void fill_node_footer_blkaddr(struct page *page, block_t blkaddr) |
199 | { | 199 | { |
200 | struct f2fs_sb_info *sbi = F2FS_SB(page->mapping->host->i_sb); | 200 | struct f2fs_checkpoint *ckpt = F2FS_CKPT(F2FS_P_SB(page)); |
201 | struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); | ||
202 | struct f2fs_node *rn = F2FS_NODE(page); | 201 | struct f2fs_node *rn = F2FS_NODE(page); |
203 | 202 | ||
204 | rn->footer.cp_ver = ckpt->checkpoint_ver; | 203 | rn->footer.cp_ver = ckpt->checkpoint_ver; |