f2fs: use missing the use of f2fs_kunmap_page
This patch calls f2fs_kunmap_page which I missed before. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
042b7816aa
commit
5df1f1da7a
|
@ -286,8 +286,7 @@ void f2fs_set_link(struct inode *dir, struct f2fs_dir_entry *de,
|
||||||
f2fs_wait_on_page_writeback(page, type);
|
f2fs_wait_on_page_writeback(page, type);
|
||||||
de->ino = cpu_to_le32(inode->i_ino);
|
de->ino = cpu_to_le32(inode->i_ino);
|
||||||
set_de_type(de, inode);
|
set_de_type(de, inode);
|
||||||
if (!f2fs_has_inline_dentry(dir))
|
f2fs_dentry_kunmap(dir, page);
|
||||||
kunmap(page);
|
|
||||||
set_page_dirty(page);
|
set_page_dirty(page);
|
||||||
dir->i_mtime = dir->i_ctime = CURRENT_TIME;
|
dir->i_mtime = dir->i_ctime = CURRENT_TIME;
|
||||||
mark_inode_dirty(dir);
|
mark_inode_dirty(dir);
|
||||||
|
|
Loading…
Reference in New Issue