summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.h
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2009-11-23 09:31:48 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-11-23 09:31:48 +0100
commitd61c42690c6e2ff093a3d01338dad49f35b1e27b (patch)
treeb8c419f13c09f7f5cde0b85c3f11e1fe7635a3c8 /drivers/block/cciss.h
parent87038c2d5bda2418fda8b1456a0ae81cc3ff5bd8 (diff)
downloadlinux-d61c42690c6e2ff093a3d01338dad49f35b1e27b.tar.gz
linux-d61c42690c6e2ff093a3d01338dad49f35b1e27b.tar.bz2
linux-d61c42690c6e2ff093a3d01338dad49f35b1e27b.zip
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>
Diffstat (limited to 'drivers/block/cciss.h')
0 files changed, 0 insertions, 0 deletions