diff options
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 4 |
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 |