f2fs: fix to detect failure of dquot_initialize
authorChao Yu <yuchao0@huawei.com>
Sat, 21 Apr 2018 09:53:52 +0000 (17:53 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 31 May 2018 18:31:47 +0000 (11:31 -0700)
commitc22aecd75919511abea872b201751e0be1add898
treefa88170d322760e5cb1c1beb9a21de03dcecf2c8
parentd618477473ebd9abc26580a762f460860e541f57
f2fs: fix to detect failure of dquot_initialize

dquot_initialize() can fail due to any exception inside quota subsystem,
f2fs needs to be aware of it, and return correct return value to caller.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c