diff options
author | Steve French <sfrench@us.ibm.com> | 2005-08-18 09:37:34 -0700 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-08-18 09:37:34 -0700 |
commit | f191401f5906f4d942fac87ebeb4671faf1ba7d6 (patch) | |
tree | 5d918edb41604cde78668e3fba2cfd9fb4f11641 /fs/cifs/cifsfs.c | |
parent | 1982c344f1bf08118f7c224958b30c64e162009e (diff) |
[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)
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 8cc23e7d0d5d..7fda0f7d9c00 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -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 |