Re: [Ocfs2-devel] (RESEND) [PATCH] ocfs2: Fix error handling in ocfs2_setattr()

2019-10-10 Thread Changwei Ge
On 2019/10/10 4:49 下午, Joseph Qi wrote: > > On 19/10/10 16:23, Chengguang Xu wrote: >> Should set transfer_to[USRQUOTA/GRPQUOTA] to NULL >> on error case before jump to do dqput(). >> >> Signed-off-by: Chengguang Xu > Looks good. > > Reviewed-by: Joseph Qi Also looks sane to me Reviewed-by: C

Re: (RESEND) [PATCH] ocfs2: Fix error handling in ocfs2_setattr()

2019-10-10 Thread Joseph Qi
On 19/10/10 16:23, Chengguang Xu wrote: > Should set transfer_to[USRQUOTA/GRPQUOTA] to NULL > on error case before jump to do dqput(). > > Signed-off-by: Chengguang Xu Looks good. Reviewed-by: Joseph Qi > --- > fs/ocfs2/file.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/fs/

(RESEND) [PATCH] ocfs2: Fix error handling in ocfs2_setattr()

2019-10-10 Thread Chengguang Xu
Should set transfer_to[USRQUOTA/GRPQUOTA] to NULL on error case before jump to do dqput(). Signed-off-by: Chengguang Xu --- fs/ocfs2/file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 2e982db3e1ae..53939bf9d7d2 100644 --- a/fs/ocfs2/file.c +++ b/