]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: introduce f2fs_do_tmpfile for code consistency
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 21 Jun 2014 04:37:02 +0000 (21:37 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 9 Jul 2014 21:04:24 +0000 (14:04 -0700)
commit589b2537e6b6085557414a95d4dd5c670922d698
treec8e3fe4ddbba29eed50b9bf461cb088b21a13d00
parentf18a5751f2f6d3e10bb3a8aaaae4f8029025bc66
f2fs: introduce f2fs_do_tmpfile for code consistency

This patch adds f2fs_do_tmpfile to eliminate the redundant init_inode_metadata
flow.
Throught this, we can provide the consistent lock usage, e.g., fi->i_sem,  and
this will enable better debugging stuffs.

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