summaryrefslogtreecommitdiff
path: root/fs/f2fs/recovery.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-11-22 03:36:28 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-24 08:51:53 +0300
commit9486ba442b00a6b227bfe0d66b0f4dbcd1a2ee91 (patch)
tree0f308e43c33144b4535562897e9b370ce624d506 /fs/f2fs/recovery.c
parentc9ee00857c9630fba14ebe368d06dc3ac2489b84 (diff)
downloadlinux-9486ba442b00a6b227bfe0d66b0f4dbcd1a2ee91.tar.xz
f2fs: introduce f2fs_dentry_kunmap to clean up
This patch introduces f2fs_dentry_kunmap to clean up dirty codes. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/recovery.c')
-rw-r--r--fs/f2fs/recovery.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c
index 4b180bbc3a21..9a93a6e29b05 100644
--- a/fs/f2fs/recovery.c
+++ b/fs/f2fs/recovery.c
@@ -129,8 +129,7 @@ retry:
goto out;
out_unmap_put:
- if (!f2fs_has_inline_dentry(dir))
- kunmap(page);
+ f2fs_dentry_kunmap(dir, page);
f2fs_put_page(page, 0);
out_err:
iput(dir);