aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf_item.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-10-10 12:52:46 -0400
committerAlex Elder <aelder@sgi.com>2011-10-11 22:15:10 -0400
commitc867cb61641751fd3d86350232d64ae2a10137d4 (patch)
tree414d38d5edd941cee2eb07f9eeb7ebaa29d1cd5b /fs/xfs/xfs_buf_item.c
parent38f23232449c9d2c0bc8e9541cb8ab08b7c2b9ce (diff)
xfs: remove XFS_BUF_STALE and XFS_BUF_SUPER_STALE
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/xfs_buf_item.c')
-rw-r--r--fs/xfs/xfs_buf_item.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c
index 3243083d8693..8213f4a753dc 100644
--- a/fs/xfs/xfs_buf_item.c
+++ b/fs/xfs/xfs_buf_item.c
@@ -966,7 +966,9 @@ xfs_buf_iodone_callbacks(
966 * I/O errors, there's no point in giving this a retry. 966 * I/O errors, there's no point in giving this a retry.
967 */ 967 */
968 if (XFS_FORCED_SHUTDOWN(mp)) { 968 if (XFS_FORCED_SHUTDOWN(mp)) {
969 XFS_BUF_SUPER_STALE(bp); 969 xfs_buf_stale(bp);
970 xfs_buf_delwri_dequeue(bp);
971 XFS_BUF_DONE(bp);
970 trace_xfs_buf_item_iodone(bp, _RET_IP_); 972 trace_xfs_buf_item_iodone(bp, _RET_IP_);
971 goto do_callbacks; 973 goto do_callbacks;
972 } 974 }
@@ -1005,7 +1007,7 @@ xfs_buf_iodone_callbacks(
1005 * If the write of the buffer was synchronous, we want to make 1007 * If the write of the buffer was synchronous, we want to make
1006 * sure to return the error to the caller of xfs_bwrite(). 1008 * sure to return the error to the caller of xfs_bwrite().
1007 */ 1009 */
1008 XFS_BUF_STALE(bp); 1010 xfs_buf_stale(bp);
1009 XFS_BUF_DONE(bp); 1011 XFS_BUF_DONE(bp);
1010 xfs_buf_delwri_dequeue(bp); 1012 xfs_buf_delwri_dequeue(bp);
1011 1013