f2fs: split make_dentry_ptr() into block and inline versions

Since callers statically know which type to use, make_dentry_ptr()
can simply be splitted into two inline functions. This way, the code
has less inlined, fewer arguments, and no cast.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
Tomohiro Kusumi 2017-04-04 13:01:22 +03:00 • committed by Jaegeuk Kim
commit 64c24ecb3c
3 changed files with 24 additions and 26 deletions