diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2009-11-23 09:31:48 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-11-23 09:31:48 +0100 |
commit | d61c42690c6e2ff093a3d01338dad49f35b1e27b (patch) | |
tree | b8c419f13c09f7f5cde0b85c3f11e1fe7635a3c8 /drivers/block/cciss.h | |
parent | partitions: read whole sector with EFI GPT header (diff) | |
download | linux-d61c42690c6e2ff093a3d01338dad49f35b1e27b.tar.xz 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