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, 31 May 2018 18:31:47 +0000 (11:31 -0700)
commita515d12f1b180ce88273ff20b065baa1c4da3284
tree8481a8b6198c7f7de9162b0e6432c7084ce082d2
parentc22aecd75919511abea872b201751e0be1add898
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