Re: [PATCH][xfs-next] xfs: fix uninitialized error variable

2019-02-21 Thread Darrick J. Wong
On Thu, Feb 21, 2019 at 11:22:24AM +, Colin King wrote: > From: Colin Ian King > > A previous commit removed the initialization of variable 'error' to zero, > and can cause a bogus error return. This occurs when error contains a > non-zero garbage value and the call to xchk_should_terminate

[PATCH][xfs-next] xfs: fix uninitialized error variable

2019-02-21 Thread Colin King
From: Colin Ian King A previous commit removed the initialization of variable 'error' to zero, and can cause a bogus error return. This occurs when error contains a non-zero garbage value and the call to xchk_should_terminate detects a pending fatal signal and checks for a zero error before sett