diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-10 12:52:44 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-10-11 22:15:09 -0400 |
commit | 5fde0326ddb1472ef31034c8ed952a19d4679191 (patch) | |
tree | 50733475339e3e8780893085a35c75b44a7b2849 /fs/xfs | |
parent | b17b833443a3b65907f5ecb36f8af33996f6ec78 (diff) |
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>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/xfs_buf.c | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_buf.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index e0339a4a0bc..36fed03da26 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c | |||
@@ -1100,7 +1100,7 @@ xfs_bioerror_relse( | |||
1100 | * ASYNC buffers. | 1100 | * ASYNC buffers. |
1101 | */ | 1101 | */ |
1102 | xfs_buf_ioerror(bp, EIO); | 1102 | xfs_buf_ioerror(bp, EIO); |
1103 | XFS_BUF_FINISH_IOWAIT(bp); | 1103 | complete(&bp->b_iowait); |
1104 | } else { | 1104 | } else { |
1105 | xfs_buf_relse(bp); | 1105 | xfs_buf_relse(bp); |
1106 | } | 1106 | } |
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h index cb54cc234ed..65181220c9a 100644 --- a/fs/xfs/xfs_buf.h +++ b/fs/xfs/xfs_buf.h | |||
@@ -293,8 +293,6 @@ static inline int xfs_buf_ispinned(struct xfs_buf *bp) | |||
293 | return atomic_read(&bp->b_pin_count); | 293 | return atomic_read(&bp->b_pin_count); |
294 | } | 294 | } |
295 | 295 | ||
296 | #define XFS_BUF_FINISH_IOWAIT(bp) complete(&bp->b_iowait); | ||
297 | |||
298 | static inline void xfs_buf_relse(xfs_buf_t *bp) | 296 | static inline void xfs_buf_relse(xfs_buf_t *bp) |
299 | { | 297 | { |
300 | xfs_buf_unlock(bp); | 298 | xfs_buf_unlock(bp); |