summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-27 23:12:25 +0000
committerJeremy Allison <jra@samba.org>2001-11-27 23:12:25 +0000
commit01d91a82493bd025901e819d8b2626a07bc64d31 (patch)
tree25f492e574b801efbea05e646669878cbf46f112 /source3
parentf10f564c008ce64b8681e4e208273d48ce1ee73c (diff)
downloadsamba-01d91a82493bd025901e819d8b2626a07bc64d31.tar.gz
samba-01d91a82493bd025901e819d8b2626a07bc64d31.tar.bz2
samba-01d91a82493bd025901e819d8b2626a07bc64d31.zip
Fix for the logic bug wrt. existant oplocks. See long message
in samba-technical for explaination. Jeremy. (This used to be commit 8150f0f3f72957e77a1e6ca06760c87c516792eb)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 7c4e69946f..67be12626b 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -543,11 +543,8 @@ dev = %x, inode = %.0f\n", old_shares[i].op_type, fname, (unsigned int)dev, (dou
dev = %x, inode = %.0f. Deleting it to continue...\n", (int)broken_entry.pid, fname, (unsigned int)dev, (double)inode));
if (process_exists(broken_entry.pid)) {
- pstring errmsg;
- slprintf(errmsg, sizeof(errmsg)-1,
- "open_mode_check: Existant process %d left active oplock.\n",
- broken_entry.pid );
- smb_panic(errmsg);
+ DEBUG(0,("open_mode_check: Existant process %d left active oplock.\n",
+ broken_entry.pid ));
}
if (del_share_entry(dev, inode, &broken_entry, NULL) == -1) {