xfs
[Top] [All Lists]

[PATCH 2/9] xfs: remove XFS_BUF_FINISH_IOWAIT

To: xfs@xxxxxxxxxxx
Subject: [PATCH 2/9] xfs: remove XFS_BUF_FINISH_IOWAIT
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 06 Oct 2011 17:06:09 -0400
References: <20111006210607.175284390@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: quilt/0.48-1
Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: xfs/fs/xfs/xfs_buf.c
===================================================================
--- xfs.orig/fs/xfs/xfs_buf.c   2011-10-02 14:06:02.936771751 +0200
+++ xfs/fs/xfs/xfs_buf.c        2011-10-02 14:06:08.028771236 +0200
@@ -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: xfs/fs/xfs/xfs_buf.h
===================================================================
--- xfs.orig/fs/xfs/xfs_buf.h   2011-10-02 14:06:02.936771751 +0200
+++ xfs/fs/xfs/xfs_buf.h        2011-10-02 14:06:08.028771236 +0200
@@ -293,8 +293,6 @@ static inline int xfs_buf_ispinned(struc
        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);

<Prev in Thread] Current Thread [Next in Thread>