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, 28 Jun 2018 22:49:24 +0000 (15:49 -0700)
commit913efaeca9c6af3cb45135965464234e8fe2b2de
tree69384d94cdf086372ee4062cde9e1f6eab93b506
parentf60d3b8fcc92c44d81989b6637f496173c7d110a
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