The Samba-Bugzilla – Attachment 7932 Details for
Bug 9191
Lock order violation in s3fs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.5.next
0001-s3-smbd-release-the-share-mode-lock-before-calling-e.patch (text/plain), 1.15 KB, created by
Jeremy Allison
on 2012-09-24 19:37:21 UTC
(
hide
)
Description:
git-am fix for 3.5.next
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-09-24 19:37:21 UTC
Size:
1.15 KB
patch
obsolete
>From a9af5974b5e5fa1ab662bd0d6c5029c5ff4ac5d6 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Mon, 24 Sep 2012 12:36:52 -0700 >Subject: [PATCH] s3:smbd: release the share mode lock before calling > exit_server() (bug #9191) > >metze > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/smbd/open.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/source3/smbd/open.c b/source3/smbd/open.c >index 843bb2b..ed9f049 100644 >--- a/source3/smbd/open.c >+++ b/source3/smbd/open.c >@@ -1077,6 +1077,7 @@ static void defer_open(struct share_mode_lock *lck, > if (procid_is_me(&e->pid) && (e->op_mid == req->mid)) { > DEBUG(0, ("Trying to defer an already deferred " > "request: mid=%d, exiting\n", req->mid)); >+ TALLOC_FREE(lck); > exit_server("attempt to defer a deferred request"); > } > } >@@ -1091,6 +1092,7 @@ static void defer_open(struct share_mode_lock *lck, > > if (!push_deferred_smb_message(req, request_time, timeout, > (char *)state, sizeof(*state))) { >+ TALLOC_FREE(lck); > exit_server("push_deferred_smb_message failed"); > } > add_deferred_open(lck, req->mid, request_time, state->id); >-- >1.7.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 9191
:
7919
|
7924
|
7931
| 7932