summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-08-18 09:37:34 -0700
committerSteve French <sfrench@us.ibm.com>2005-08-18 09:37:34 -0700
commitf191401f5906f4d942fac87ebeb4671faf1ba7d6 (patch)
tree5d918edb41604cde78668e3fba2cfd9fb4f11641 /fs/cifs/cifsfs.c
parent1982c344f1bf08118f7c224958b30c64e162009e (diff)
downloadlwn-f191401f5906f4d942fac87ebeb4671faf1ba7d6.tar.gz
lwn-f191401f5906f4d942fac87ebeb4671faf1ba7d6.zip
[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.c2
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