summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-03-17 10:35:51 -0700
committerJeremy Allison <jra@samba.org>2011-03-17 19:59:51 +0100
commitfdb98fbdd84362b9c586fdebf83fc2db5722a44e (patch)
tree5a1930509ee1a96595b16c838b07af8de57955b0 /source3
parent3d6a92a37bead8df3c7704a2f33614cac0201748 (diff)
downloadsamba-fdb98fbdd84362b9c586fdebf83fc2db5722a44e.tar.gz
samba-fdb98fbdd84362b9c586fdebf83fc2db5722a44e.tar.bz2
samba-fdb98fbdd84362b9c586fdebf83fc2db5722a44e.zip
Nulling out the op_mid is never the right thing to do. We depend on
this value when searching for specific share mode entries. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 17 19:59:51 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/locking.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 15c53d4161..32d1b34faa 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -1374,7 +1374,6 @@ bool remove_share_oplock(struct share_mode_lock *lck, files_struct *fsp)
return False;
}
- e->op_mid = 0;
if (EXCLUSIVE_OPLOCK_TYPE(fsp->oplock_type)) {
/*
* Going from exclusive or batch,