diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2008-02-28 00:27:16 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-02-28 00:53:43 +0100 |
commit | b31ddd31c266c2ad1b708cad0d3d8e0aa7fa2737 (patch) | |
tree | ecc7a9aeb4eb74a103b15423ac6aeb60f4be7420 /drivers/scsi/gdth.h | |
parent | [SCSI] iscsi regression: check for zero max session cmds (diff) | |
download | linux-b31ddd31c266c2ad1b708cad0d3d8e0aa7fa2737.tar.xz linux-b31ddd31c266c2ad1b708cad0d3d8e0aa7fa2737.zip |
[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>
Diffstat (limited to 'drivers/scsi/gdth.h')
0 files changed, 0 insertions, 0 deletions