The Samba-Bugzilla – Attachment 7703 Details for
Bug 9040
Using asynchronous IO with SMB2 can return NT_STATUS_FILE_CLOSED in error instead ofNT_STATUS_FILE_LOCK_CONFLICT.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am patch for 3.6.next.
look (text/plain), 1.02 KB, created by
Jeremy Allison
on 2012-07-13 18:13:37 UTC
(
hide
)
Description:
git-am patch for 3.6.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-07-13 18:13:37 UTC
Size:
1.02 KB
patch
obsolete
>From e5f367f5f94e0a01ea0071746401a40c1f05c584 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Fri, 13 Jul 2012 08:38:07 +0200 >Subject: [PATCH] s3: Make us survive smb2.lock.rw-shared with aio enabled > >schedule_aio_smb2_write can return NT_STATUS_FILE_LOCK_CONFLICT. >This is a valid error code that smb2.lock.rw-shared expects and >checks for. The code before this patch maps this to NT_STATUS_FILE_CLOSED, >masking the real, correct error message. >--- > source3/smbd/smb2_write.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c >index 8ddd8cc..6a78939 100644 >--- a/source3/smbd/smb2_write.c >+++ b/source3/smbd/smb2_write.c >@@ -318,7 +318,7 @@ static struct tevent_req *smbd_smb2_write_send(TALLOC_CTX *mem_ctx, > > if (!NT_STATUS_EQUAL(status, NT_STATUS_RETRY)) { > /* Real error in setting up aio. Fail. */ >- tevent_req_nterror(req, NT_STATUS_FILE_CLOSED); >+ tevent_req_nterror(req, status); > return tevent_req_post(req, ev); > } > >-- >1.7.0.4 >
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+
ira
:
review+
obnox
:
review+
Actions:
View
Attachments on
bug 9040
: 7703