Commit 042287de authored by Eric Sandeen's avatar Eric Sandeen Committed by Nathan Scott

[XFS] zero log buffer during initialization at mount time

SGI Modid: xfs-linux:xfs-kern:167980a
parent d75a1aa8
...@@ -1227,7 +1227,7 @@ xlog_alloc_log(xfs_mount_t *mp, ...@@ -1227,7 +1227,7 @@ xlog_alloc_log(xfs_mount_t *mp,
kmem_zalloc(sizeof(xlog_in_core_t), KM_SLEEP); kmem_zalloc(sizeof(xlog_in_core_t), KM_SLEEP);
iclog = *iclogp; iclog = *iclogp;
iclog->hic_data = (xlog_in_core_2_t *) iclog->hic_data = (xlog_in_core_2_t *)
kmem_alloc(iclogsize, KM_SLEEP); kmem_zalloc(iclogsize, KM_SLEEP);
iclog->ic_prev = prev_iclog; iclog->ic_prev = prev_iclog;
prev_iclog = iclog; prev_iclog = iclog;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment