git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b9d518
)
Hopefully last part of the fix for bug 6651 - smbd SIGSEGV when breaking oplocks...
author
Jeremy Allison
<jra@samba.org>
Thu, 3 Sep 2009 14:40:48 +0000
(07:40 -0700)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 9 Sep 2009 10:27:18 +0000
(12:27 +0200)
source3/smbd/oplock_linux.c
patch
|
blob
|
history
diff --git
a/source3/smbd/oplock_linux.c
b/source3/smbd/oplock_linux.c
index 7f215dfc430800896c60d16d34e70f58e28556ed..2bc0a55518ce7b2dee54707e4a896a87c91b834f 100644
(file)
--- a/
source3/smbd/oplock_linux.c
+++ b/
source3/smbd/oplock_linux.c
@@
-99,8
+99,8
@@
static void linux_oplock_signal_handler(struct tevent_context *ev_ctx,
fsp = file_find_fd(fd);
if (fsp == NULL) {
- DEBUG(0,("linux_oplock_signal_handler: failed to find fsp for file fd=%d\n", fd ));
-
smb_panic("linux_oplock_signal_handler\n")
;
+ DEBUG(0,("linux_oplock_signal_handler: failed to find fsp for file fd=%d
(file was closed ?)
\n", fd ));
+
return
;
}
break_kernel_oplock(smbd_messaging_context(), fsp);
}