Re: [PATCH] quota: propagate error from __dquot_initialize

2017-11-23 Thread Chao Yu
On 2017/11/21 21:18, Jan Kara wrote: > On Fri 17-11-17 10:07:53, Chao Yu wrote: >> In commit 6184fc0b8dd7 ("quota: Propagate error from ->acquire_dquot()"), >> we have propagated error from __dquot_initialize to caller, but we forgot >> to handle such error in add_dquot_ref(), so, currently, during

Re: [PATCH] quota: propagate error from __dquot_initialize

2017-11-21 Thread Jan Kara
On Fri 17-11-17 10:07:53, Chao Yu wrote: > In commit 6184fc0b8dd7 ("quota: Propagate error from ->acquire_dquot()"), > we have propagated error from __dquot_initialize to caller, but we forgot > to handle such error in add_dquot_ref(), so, currently, during quota > accounting information initializa

[PATCH] quota: propagate error from __dquot_initialize

2017-11-16 Thread Chao Yu
In commit 6184fc0b8dd7 ("quota: Propagate error from ->acquire_dquot()"), we have propagated error from __dquot_initialize to caller, but we forgot to handle such error in add_dquot_ref(), so, currently, during quota accounting information initialization flow, if we failed for some of inodes, we ju