Ira Weiny b68271609c fs/xfs: Fix return code of xfs_break_leased_layouts()
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 <ira.weiny@intel.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2019-08-19 18:15:28 -07:00
..
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-07-15 21:20:52 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-07-02 09:40:05 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-07-12 17:17:51 -07:00
2019-06-30 09:05:17 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-07-04 07:52:23 -07:00
2019-07-04 07:52:23 -07:00
2019-07-04 07:52:23 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-07-03 08:21:58 -07:00
2019-07-03 08:21:58 -07:00
2019-06-28 19:30:43 -07:00
2019-07-04 07:52:23 -07:00
2019-04-23 08:36:23 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2019-06-30 09:05:17 -07:00
2019-06-28 19:30:43 -07:00