Re: [PATCH][ocfs2-next] ocfs2: ensure ret is set to zero before returning

2019-08-07 Thread Joseph Qi
On 19/8/7 20:42, Colin Ian King wrote: > On 07/08/2019 13:35, Joseph Qi wrote: >> >> >> On 19/8/7 20:19, Colin King wrote: >>> From: Colin Ian King >>> >>> A previous commit introduced a regression where variable ret was >>> originally being set from the return from a call to function >>>

Re: [PATCH][ocfs2-next] ocfs2: ensure ret is set to zero before returning

2019-08-07 Thread Colin Ian King
On 07/08/2019 13:35, Joseph Qi wrote: > > > On 19/8/7 20:19, Colin King wrote: >> From: Colin Ian King >> >> A previous commit introduced a regression where variable ret was >> originally being set from the return from a call to function >> dlm_create_debugfs_subroot and this set was removed.

Re: [PATCH][ocfs2-next] ocfs2: ensure ret is set to zero before returning

2019-08-07 Thread Joseph Qi
On 19/8/7 20:19, Colin King wrote: > From: Colin Ian King > > A previous commit introduced a regression where variable ret was > originally being set from the return from a call to function > dlm_create_debugfs_subroot and this set was removed. Currently > ret is now uninitialized if no

[PATCH][ocfs2-next] ocfs2: ensure ret is set to zero before returning

2019-08-07 Thread Colin King
From: Colin Ian King A previous commit introduced a regression where variable ret was originally being set from the return from a call to function dlm_create_debugfs_subroot and this set was removed. Currently ret is now uninitialized if no alloction errors are found which may end up with a