aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 33f718f92a48..c8a309424307 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -1131,7 +1131,8 @@ xlog_alloc_log(xfs_mount_t *mp,
1131 iclog->ic_prev = prev_iclog; 1131 iclog->ic_prev = prev_iclog;
1132 prev_iclog = iclog; 1132 prev_iclog = iclog;
1133 1133
1134 bp = xfs_buf_get_noaddr(log->l_iclog_size, mp->m_logdev_targp); 1134 bp = xfs_buf_get_uncached(mp->m_logdev_targp,
1135 log->l_iclog_size, 0);
1135 if (!bp) 1136 if (!bp)
1136 goto out_free_iclog; 1137 goto out_free_iclog;
1137 if (!XFS_BUF_CPSEMA(bp)) 1138 if (!XFS_BUF_CPSEMA(bp))