[CIFS] rmmod cifs can oops if done soon after the last cifs unmount

Signed-off-by: Shaggy (shaggy@austin.ibm.com)
Signed-off-by: Steve French (sfrench@us.ibm.com)
This commit is contained in:
Steve French
2005-08-18 09:37:34 -07:00
parent 1982c344f1
commit f191401f59
2 changed files with 19 additions and 8 deletions

View File

@@ -834,8 +834,8 @@ static int cifs_oplock_thread(void * dummyarg)
spin_unlock(&GlobalMid_Lock);
}
} while(!signal_pending(current));
complete_and_exit (&cifs_oplock_exited, 0);
oplockThread = NULL;
complete_and_exit (&cifs_oplock_exited, 0);
}
static int __init