aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.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_log.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_log.c')
-rw-r--r--fs/xfs/xfs_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index a8718ed9776d..06ff8437ed8e 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -1050,7 +1050,7 @@ xlog_alloc_log(xfs_mount_t *mp,
1050 bp = xfs_buf_get_empty(log->l_iclog_size, mp->m_logdev_targp); 1050 bp = xfs_buf_get_empty(log->l_iclog_size, mp->m_logdev_targp);
1051 if (!bp) 1051 if (!bp)
1052 goto out_free_log; 1052 goto out_free_log;
1053 XFS_BUF_SET_IODONE_FUNC(bp, xlog_iodone); 1053 bp->b_iodone = xlog_iodone;
1054 ASSERT(XFS_BUF_ISBUSY(bp)); 1054 ASSERT(XFS_BUF_ISBUSY(bp));
1055 ASSERT(xfs_buf_islocked(bp)); 1055 ASSERT(xfs_buf_islocked(bp));
1056 log->l_xbuf = bp; 1056 log->l_xbuf = bp;
@@ -1084,7 +1084,7 @@ xlog_alloc_log(xfs_mount_t *mp,
1084 if (!bp) 1084 if (!bp)
1085 goto out_free_iclog; 1085 goto out_free_iclog;
1086 1086
1087 XFS_BUF_SET_IODONE_FUNC(bp, xlog_iodone); 1087 bp->b_iodone = xlog_iodone;
1088 iclog->ic_bp = bp; 1088 iclog->ic_bp = bp;
1089 iclog->ic_data = bp->b_addr; 1089 iclog->ic_data = bp->b_addr;
1090#ifdef DEBUG 1090#ifdef DEBUG