From: Stephen M. Cameron Date: Thu, 17 Sep 2009 18:47:50 +0000 (-0500) Subject: cciss: Fix excessive gendisk freeing bug on driver unload. X-Git-Tag: v2.6.32-rc3~6^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c935593ac1871211b43a54f023dc3bc605ad346;p=pandora-kernel.git cciss: Fix excessive gendisk freeing bug on driver unload. Fix bug that free_hba was calling put_disk for all gendisk[] pointers -- all 1024 of them -- regardless of whether the were used or not (NULL). This bug could cause rmmod to oops if logical drives had been deleted during the driver's lifetime. Signed-off-by: Stephen M. Cameron Signed-off-by: Jens Axboe --- Reading git-diff-tree failed