f2fs: split make_dentry_ptr() into block and inline versions
authorTomohiro Kusumi <tkusumi@tuxera.com>
Tue, 4 Apr 2017 10:01:22 +0000 (13:01 +0300)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 5 Apr 2017 18:05:08 +0000 (11:05 -0700)
commit64c24ecb3cff412cd848db06d90409e5dd77c2e0
tree35c9748a056263539e4c944b7484deffb88d46a1
parentd1b3e72d549094317c12c79c7817861a97004a56
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>
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/inline.c