[PATCH] cciss: bug fix for crash when running hpacucli
authorMike Miller <mikem@beardog.cca.cpqcorp.net>
Mon, 10 Apr 2006 22:38:07 +0000 (15:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Apr 2006 21:24:57 +0000 (14:24 -0700)
commitca1e0484d9fe8a9048ac32b0f9894545f43704e8
tree60069aefd37077a86072020713b046203762ff5a
parent75616cf9854b83eb83a968b1338ae0ee11c9673c
[PATCH] cciss: bug fix for crash when running hpacucli

Fix a crash when running hpacucli with multiple logical volumes on a cciss
controller.  We were not properly initializing the disk->queue and causing
a fault.

Thanks to Hasso Tepper for reporting the problem.  Thanks to Steve Cameron
for root causing the problem.  Most of the patch just moves things around.
The fix is a one-liner.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Stephen Cameron <steve.cameron@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/cciss.c