Stephen M. Cameron d61c42690c cciss: fix scatter gather cleanup problems
On driver unload, only free up the extra scatter gather data if they were
allocated in the first place (the controller supports it) and don't forget
to free up the sg_cmd_list array of pointers.

Signed-off-by: Don Brace <brace@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-11-23 09:31:48 +01:00
..
2009-10-01 21:15:40 +02:00
2005-04-16 15:20:36 -07:00
2009-10-01 21:15:40 +02:00
2009-09-22 07:17:25 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2009-10-01 21:17:49 +02:00
2009-10-01 21:17:49 +02:00
2009-11-04 09:09:28 +01:00
2005-04-16 15:20:36 -07:00
2009-03-26 21:15:27 +01:00
2009-09-22 07:17:25 -07:00
2009-09-22 07:17:25 -07:00
2008-10-21 07:48:11 -04:00