OSDN Git Service

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>
Mon, 9 Jul 2018 00:28:43 +0000 (17:28 -0700)
commit23d00b02878ee939100ed8aae68b5ac170899bf2
treea56922c821646781ec2a1c8c6c40469697c696ab
parent937f4ef79e257735e03149815fb231c8d02e3a1f
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