target/configfs: allocate pointers instead of full struct for default_groups
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 27 Nov 2012 17:54:19 +0000 (18:54 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 28 Nov 2012 06:49:22 +0000 (22:49 -0800)
default_groups is defined as struct config_group **default_groups so
we don't need to allocate a whole struct but only enough space for a
pointer that points there.

(nab: Fix up minor apply breakage in for-next)

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found