quota: be aware of error from dquot_initialize
authorChao Yu <yuchao0@huawei.com>
Mon, 13 Nov 2017 03:31:48 +0000 (11:31 +0800)
committerJan Kara <jack@suse.cz>
Mon, 13 Nov 2017 09:36:56 +0000 (10:36 +0100)
commit88d8ff976abdad043cc37dc1b4f01d93603842d7
tree499e3f614b746b1c3197dd3f967c07e82216f655
parentdd5f6279732e8885061d7455b9d86fdcfdf7f183
quota: be aware of error from dquot_initialize

Commit 6184fc0b8dd7 ("quota: Propagate error from ->acquire_dquot()")
missed to handle error from dquot_initialize in dquot_file_open, fix it.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c