f2fs: reuse core function in f2fs_readdir for inline_dentry
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 16 Oct 2014 04:29:51 +0000 (21:29 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Nov 2014 00:07:34 +0000 (16:07 -0800)
commit38594de767b32db62b7213631772d050690d3803
tree5f83dc3156cde9431b2f9c2fa813993d9bafbdc8
parente7a2bf2283d368ada40ae52152b7ab2304a76d95
f2fs: reuse core function in f2fs_readdir for inline_dentry

This patch introduces a core function, f2fs_fill_dentries, to remove
redundant code in f2fs_readdir and f2fs_read_inline_dir.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/inline.c