diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-21 16:36:28 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-23 21:51:53 -0800 |
commit | 9486ba442b00a6b227bfe0d66b0f4dbcd1a2ee91 (patch) | |
tree | 0f308e43c33144b4535562897e9b370ce624d506 /fs/f2fs/recovery.c | |
parent | c9ee00857c9630fba14ebe368d06dc3ac2489b84 (diff) | |
download | op-kernel-dev-9486ba442b00a6b227bfe0d66b0f4dbcd1a2ee91.zip op-kernel-dev-9486ba442b00a6b227bfe0d66b0f4dbcd1a2ee91.tar.gz |
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 4b180bb..9a93a6e 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); |