f2fs: do not set LOST_PINO for newly created dir
authorSheng Yong <shengyong1@huawei.com>
Mon, 26 Jun 2017 02:41:35 +0000 (10:41 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 7 Jul 2017 17:34:45 +0000 (10:34 -0700)
commitd58dfb75056c5f732a0b83c54d22c99b4edc947a
tree02c059163c940eec149ea03214ca883eb69c2dd1
parent0771fcc71c0c28bf31ac5c2c863b9f0de0fdf00d
f2fs: do not set LOST_PINO for newly created dir

Since directories will be written back with checkpoint and fsync a
directory will always write CP, there is no need to set LOST_PINO
after creating a directory.

Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c