diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-11-27 18:54:21 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-11-28 07:49:24 +0100 |
commit | 13f6a91479b06133eb99f1f43be02608eb867313 (patch) | |
tree | 721d72ee5d17995c8697e3dbdab5401ba9025069 /include/target | |
parent | target/configfs: allocate only 6 slots for dev_cg->default_groups (diff) | |
download | linux-13f6a91479b06133eb99f1f43be02608eb867313.tar.xz linux-13f6a91479b06133eb99f1f43be02608eb867313.zip |
target/configfs: use kmalloc() instead of kzalloc() for default groups
All elements are assigned even the NULL member at the end so there is no
reason to allocate zeroed memory.
(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 'include/target')
0 files changed, 0 insertions, 0 deletions