xfs: Remove the macro XFS_BUF_ERROR and family
Remove the definitions and usage of the macros XFS_BUF_ERROR, XFS_BUF_GETERROR and XFS_BUF_ISERROR. Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
This commit is contained in:
committed by
Alex Elder
parent
ed43233be9
commit
5a52c2a581
@@ -2040,7 +2040,7 @@ xfs_da_do_buf(
|
||||
case 0:
|
||||
bp = xfs_trans_get_buf(trans, mp->m_ddev_targp,
|
||||
mappedbno, nmapped, 0);
|
||||
error = bp ? XFS_BUF_GETERROR(bp) : XFS_ERROR(EIO);
|
||||
error = bp ? bp->b_error : XFS_ERROR(EIO);
|
||||
break;
|
||||
case 1:
|
||||
case 2:
|
||||
|
Reference in New Issue
Block a user