aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2011-07-13 07:43:49 -0400
committerChristoph Hellwig <hch@lst.de>2011-07-13 07:43:49 -0400
commitcb669ca5701153a808db6627521cc8aa52fc42d1 (patch)
tree90529cad1994d11b8a21b0c2607adfb8da0b49fd /fs/xfs/xfs_inode.c
parentadadbeefb34f755a3477da51035eeeec2c1fde38 (diff)
xfs: remove wrappers around b_iodone
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Alex Elder <aelder@sgi.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 34c6872b5f7..1314c83ded1 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -2471,7 +2471,7 @@ cluster_corrupt_out:
2471 * mark the buffer as an error and call them. Otherwise 2471 * mark the buffer as an error and call them. Otherwise
2472 * mark it as stale and brelse. 2472 * mark it as stale and brelse.
2473 */ 2473 */
2474 if (XFS_BUF_IODONE_FUNC(bp)) { 2474 if (bp->b_iodone) {
2475 XFS_BUF_UNDONE(bp); 2475 XFS_BUF_UNDONE(bp);
2476 XFS_BUF_STALE(bp); 2476 XFS_BUF_STALE(bp);
2477 XFS_BUF_ERROR(bp,EIO); 2477 XFS_BUF_ERROR(bp,EIO);
@@ -2812,7 +2812,7 @@ xfs_iflush_int(
2812 xfs_buf_attach_iodone(bp, xfs_iflush_done, &iip->ili_item); 2812 xfs_buf_attach_iodone(bp, xfs_iflush_done, &iip->ili_item);
2813 2813
2814 ASSERT(bp->b_fspriv != NULL); 2814 ASSERT(bp->b_fspriv != NULL);
2815 ASSERT(XFS_BUF_IODONE_FUNC(bp) != NULL); 2815 ASSERT(bp->b_iodone != NULL);
2816 } else { 2816 } else {
2817 /* 2817 /*
2818 * We're flushing an inode which is not in the AIL and has 2818 * We're flushing an inode which is not in the AIL and has