xfs: remove XFS_BUF_FINISH_IOWAIT
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Alex Elder <aelder@sgi.com>
This commit is contained in:
parent
b17b833443
commit
5fde0326dd
|
@ -1100,7 +1100,7 @@ xfs_bioerror_relse(
|
||||||
* ASYNC buffers.
|
* ASYNC buffers.
|
||||||
*/
|
*/
|
||||||
xfs_buf_ioerror(bp, EIO);
|
xfs_buf_ioerror(bp, EIO);
|
||||||
XFS_BUF_FINISH_IOWAIT(bp);
|
complete(&bp->b_iowait);
|
||||||
} else {
|
} else {
|
||||||
xfs_buf_relse(bp);
|
xfs_buf_relse(bp);
|
||||||
}
|
}
|
||||||
|
|
|
@ -293,8 +293,6 @@ static inline int xfs_buf_ispinned(struct xfs_buf *bp)
|
||||||
return atomic_read(&bp->b_pin_count);
|
return atomic_read(&bp->b_pin_count);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define XFS_BUF_FINISH_IOWAIT(bp) complete(&bp->b_iowait);
|
|
||||||
|
|
||||||
static inline void xfs_buf_relse(xfs_buf_t *bp)
|
static inline void xfs_buf_relse(xfs_buf_t *bp)
|
||||||
{
|
{
|
||||||
xfs_buf_unlock(bp);
|
xfs_buf_unlock(bp);
|
||||||
|
|
Loading…
Reference in New Issue