aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_fabric_configfs.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-11-27 17:49:44 -0800
committerNicholas Bellinger <nab@linux-iscsi.org>2012-11-27 22:49:23 -0800
commita5675c8a8b72efdd09ccd1b0975c4670675775ef (patch)
treeac086820e4140188a84468d8cd34133b6221c268 /drivers/target/target_core_fabric_configfs.c
parenttarget/configfs: allocate pointers instead of full struct for default_groups (diff)
downloadlinux-dev-a5675c8a8b72efdd09ccd1b0975c4670675775ef.tar.xz
linux-dev-a5675c8a8b72efdd09ccd1b0975c4670675775ef.zip
target/configfs: allocate only 6 slots for dev_cg->default_groups
Only slots 0-5 are used so 6 slots should be enough. I don't see anyone writting anything else than NULL into ->default_groups[5] so a "late" initialisation should not happen here. (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>
Diffstat (limited to 'drivers/target/target_core_fabric_configfs.c')
0 files changed, 0 insertions, 0 deletions