f2fs: introduce f2fs_update_dentry to clean up duplicated codes
authorChao Yu <chao2.yu@samsung.com>
Mon, 16 Feb 2015 08:17:20 +0000 (16:17 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 3 Mar 2015 17:58:44 +0000 (09:58 -0800)
commit3b4d732a568432039af71809f9cad69565f00bed
tree657157f3d3b9d53351b76f253a1a6bf47ecd1ba9
parent1753396a0a1c574969dc0c4b369ac4ac3d299245
f2fs: introduce f2fs_update_dentry to clean up duplicated codes

This patch introduces f2fs_update_dentry to remove redundant code in
f2fs_add_inline_entry and __f2fs_add_link.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/inline.c