target: Fix sizeof in kmalloc for some default_groups arrays
authorAndy Grover <agrover@redhat.com>
Mon, 9 Dec 2013 22:27:36 +0000 (14:27 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 16 Dec 2013 20:42:20 +0000 (12:42 -0800)
commitab6dae8236767f9815bb00c29a56d045e33cd470
tree906d426063e3a19ed2ed62803ba6319ff7a6123e
parent3f0ed57b26ddd6358b4ab2b9bde652fd683fe02d
target: Fix sizeof in kmalloc for some default_groups arrays

Allocating an array of pointers, not the objects themselves. These two
sites now match all the other sites.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_configfs.c
drivers/target/target_core_fabric_configfs.c