f2fs: remove duplicated dquot_initialize and fix error handling
authorSheng Yong <shengyong1@huawei.com>
Sat, 21 Apr 2018 06:12:50 +0000 (14:12 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 Jun 2018 22:49:24 +0000 (15:49 -0700)
commit1f1473916089782c12b96c363a5be45445a6821a
treed11808acaf6b172b84cffab0c5f0a99c68f36c80
parent913efaeca9c6af3cb45135965464234e8fe2b2de
f2fs: remove duplicated dquot_initialize and fix error handling

This patch removes duplicated dquot_initialize in recover_orphan_inode(),
and fix the error handling if dquot_initialize fails.

Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c