summaryrefslogtreecommitdiffstats
path: root/drivers/md/persistent-data/dm-space-map-metadata.c
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2019-08-19 18:15:28 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-08-19 18:15:28 -0700
commitb68271609c4f16a79eae8069933f64345afcf888 (patch)
tree7be686cc76fcd54f05acd8a4734562fa8bff8b86 /drivers/md/persistent-data/dm-space-map-metadata.c
parent5d888b481e6abc726b36c86f0bf13af1583bb336 (diff)
downloadlinux-b68271609c4f16a79eae8069933f64345afcf888.tar.bz2
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>
Diffstat (limited to 'drivers/md/persistent-data/dm-space-map-metadata.c')
0 files changed, 0 insertions, 0 deletions