diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-12-13 13:13:11 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-09 17:02:22 -0800 |
commit | 5df1f1da7a148c4a14d035b49c4d89790f59a57a (patch) | |
tree | 617c7c317c28e8d3fbbc83e75a16e7c7cf49ced3 | |
parent | 042b7816aaebb1eb137b9889c20b595d951d15b7 (diff) | |
download | blackbird-op-linux-5df1f1da7a148c4a14d035b49c4d89790f59a57a.tar.gz blackbird-op-linux-5df1f1da7a148c4a14d035b49c4d89790f59a57a.zip |
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>
-rw-r--r-- | fs/f2fs/dir.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index b1a7d5737cd0..b74097a7f6d9 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@ -286,8 +286,7 @@ void f2fs_set_link(struct inode *dir, struct f2fs_dir_entry *de, f2fs_wait_on_page_writeback(page, type); de->ino = cpu_to_le32(inode->i_ino); set_de_type(de, inode); - if (!f2fs_has_inline_dentry(dir)) - kunmap(page); + f2fs_dentry_kunmap(dir, page); set_page_dirty(page); dir->i_mtime = dir->i_ctime = CURRENT_TIME; mark_inode_dirty(dir); |