diff options
author | Steve French <sfrench@us.ibm.com> | 2005-08-18 12:37:34 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-08-18 12:37:34 -0400 |
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) | |||
834 | spin_unlock(&GlobalMid_Lock); | 834 | spin_unlock(&GlobalMid_Lock); |
835 | } | 835 | } |
836 | } while(!signal_pending(current)); | 836 | } while(!signal_pending(current)); |
837 | complete_and_exit (&cifs_oplock_exited, 0); | ||
838 | oplockThread = NULL; | 837 | oplockThread = NULL; |
838 | complete_and_exit (&cifs_oplock_exited, 0); | ||
839 | } | 839 | } |
840 | 840 | ||
841 | static int __init | 841 | static int __init |