Re: [PATCH] gdth: bugfix for the at-exit problems

2008-02-14 Thread Boaz Harrosh
On Thu, Feb 14 2008 at 18:10 +0200, James Bottomley <[EMAIL PROTECTED]> wrote: > On Thu, 2008-02-14 at 13:58 +0200, Boaz Harrosh wrote: >> This is a bugfix for the 2.6.24.x stable releases. >> >> gdth_exit would first remove all cards then stop the timer >> and would not sync with the timer functio

Re: [PATCH] gdth: bugfix for the at-exit problems

2008-02-14 Thread James Bottomley
On Thu, 2008-02-14 at 13:58 +0200, Boaz Harrosh wrote: > This is a bugfix for the 2.6.24.x stable releases. > > 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_sy

[PATCH] gdth: bugfix for the at-exit problems

2008-02-14 Thread Boaz Harrosh
This is a bugfix for the 2.6.24.x stable releases. 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