diff options
Diffstat (limited to 'fs/f2fs/dir.c')
-rw-r--r-- | fs/f2fs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index 62f0d5977c64..89ecb3785321 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c | |||
@@ -270,7 +270,7 @@ static void init_dent_inode(const struct qstr *name, struct page *ipage) | |||
270 | struct f2fs_node *rn; | 270 | struct f2fs_node *rn; |
271 | 271 | ||
272 | /* copy name info. to this inode page */ | 272 | /* copy name info. to this inode page */ |
273 | rn = (struct f2fs_node *)page_address(ipage); | 273 | rn = F2FS_NODE(ipage); |
274 | rn->i.i_namelen = cpu_to_le32(name->len); | 274 | rn->i.i_namelen = cpu_to_le32(name->len); |
275 | memcpy(rn->i.i_name, name->name, name->len); | 275 | memcpy(rn->i.i_name, name->name, name->len); |
276 | set_page_dirty(ipage); | 276 | set_page_dirty(ipage); |