Commit a0232262 authored by Nathan Scott's avatar Nathan Scott

[XFS] No need to initialise struct xfs_trans field to null after a zalloc.

SGI Modid: 2.5.x-xfs:slinx:163115a
parent 09f1c56c
......@@ -142,9 +142,9 @@ _xfs_trans_alloc(
uint type)
{
xfs_trans_t *tp;
ASSERT(xfs_trans_zone != NULL);
tp = kmem_zone_zalloc(xfs_trans_zone, KM_SLEEP);
tp->t_dqinfo = NULL;
/*
* Initialize the transaction structure.
......
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