Re: [PATCH] fs/xfs: Fix return code of xfs_break_leased_layouts()

2019-08-19 Thread Darrick J. Wong
On Mon, Aug 19, 2019 at 02:39:18PM -0700, ira.we...@intel.com wrote: > From: Ira Weiny > > The parens used in the while loop would result in error being assigned > the value 1 rather than the intended errno value. > > This is required to return -ETXTBSY from follow on break_layout() > changes.

[PATCH] fs/xfs: Fix return code of xfs_break_leased_layouts()

2019-08-19 Thread ira . weiny
From: Ira Weiny The parens used in the while loop would result in error being assigned the value 1 rather than the intended errno value. This is required to return -ETXTBSY from follow on break_layout() changes. Signed-off-by: Ira Weiny --- fs/xfs/xfs_pnfs.c | 2 +- 1 file changed, 1