]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
xfs: remove XFS_BUF_FINISH_IOWAIT
authorChristoph Hellwig <hch@infradead.org>
Mon, 10 Oct 2011 16:52:44 +0000 (16:52 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 11 Oct 2011 16:38:55 +0000 (11:38 -0500)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h

index e0339a4a0bc8d0bb0e83aa164b8c369c0d7d66d2..36fed03da26f5cae5e6ee39c5664f58852449e08 100644 (file)
@@ -1100,7 +1100,7 @@ xfs_bioerror_relse(
                 * ASYNC buffers.
                 */
                xfs_buf_ioerror(bp, EIO);
-               XFS_BUF_FINISH_IOWAIT(bp);
+               complete(&bp->b_iowait);
        } else {
                xfs_buf_relse(bp);
        }
index cb54cc234ed1c738d987ac11ccb1b4b0c0cd2a9c..65181220c9a20dd9004bdbe9220ec356dc07b494 100644 (file)
@@ -293,8 +293,6 @@ static inline int xfs_buf_ispinned(struct xfs_buf *bp)
        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)
 {
        xfs_buf_unlock(bp);