target: Use array_zalloc for tpg_lun_list
authorJörn Engel <joern@logfs.org>
Thu, 15 Mar 2012 19:05:12 +0000 (15:05 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 16 Mar 2012 02:15:38 +0000 (19:15 -0700)
Turns an order-10 allocation into slab-sized ones, thereby preventing
allocation failures with memory fragmentation.

This likely saves memory as well, as the slab allocator can pack objects
more tightly than the buddy allocator.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found