]> err.no Git - linux-2.6/commit
[SCSI] gdth: bugfix for the at-exit problems
authorBoaz Harrosh <bharrosh@panasas.com>
Wed, 27 Feb 2008 23:27:16 +0000 (15:27 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 27 Feb 2008 23:53:43 +0000 (15:53 -0800)
commitb31ddd31c266c2ad1b708cad0d3d8e0aa7fa2737
treeecc7a9aeb4eb74a103b15423ac6aeb60f4be7420
parent31ed0bf439a15363c28c7a239f52eb127cb6feb3
[SCSI] gdth: bugfix for the at-exit problems

gdth_exit would first remove all cards then stop the timer
and would not sync with the timer function. This caused a crash
in gdth_timer() when module was unloaded.
So del_timer_sync the timer before we delete the cards.

also the reboot notifier function would crash. So clean
that up and fix the crashes.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Tested-by: Joerg Dorchain: <joerg@dorchain.net>
Tested-by: Stefan Priebe <s.priebe@allied-internet.ag>
Tested-by: Jon Chelton <jchelton@ffpglobal.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/gdth.c