]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cciss: Fix multiple calls to pci_release_regions
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Tue, 13 Oct 2009 07:18:22 +0000 (09:18 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 13 Oct 2009 07:18:22 +0000 (09:18 +0200)
commit2cfa948c9ea8681e831743a3bb61157f590fa8d8
treeaf80ef81803befceda2052fd4738dbf3f80fef95
parentc7ebf0657b1f47d85aee8349ed6345d940d7232a
cciss: Fix multiple calls to pci_release_regions

Fix multiple calls to pci_release_regions.  If cciss_pci_init
fails, it already does any necessary call to pci_release_regions,
so this does not need to be done again in cciss_init_one in that
case.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss.c