git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ea271b
)
s3: Remove smbd_messaging_context() from smb_set_posix_lock()
author
Volker Lendecke
<vl@samba.org>
Sun, 4 Jul 2010 17:46:15 +0000
(19:46 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 5 Jul 2010 09:06:29 +0000
(11:06 +0200)
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index 47435419dd43519410ec9ff8b1b080a15fecbc95..b81eb837befa3c29b5010d48f1964370a4017cc7 100644
(file)
--- a/
source3/smbd/trans2.c
+++ b/
source3/smbd/trans2.c
@@
-6420,7
+6420,7
@@
static NTSTATUS smb_set_posix_lock(connection_struct *conn,
(double)offset ));
if (lock_type == UNLOCK_LOCK) {
- status = do_unlock(
smbd_messaging_context()
,
+ status = do_unlock(
req->sconn->msg_ctx
,
fsp,
smblctx,
count,
@@
-6429,7
+6429,7
@@
static NTSTATUS smb_set_posix_lock(connection_struct *conn,
} else {
uint64_t block_smblctx;
- struct byte_range_lock *br_lck = do_lock(
smbd_messaging_context()
,
+ struct byte_range_lock *br_lck = do_lock(
req->sconn->msg_ctx
,
fsp,
smblctx,
count,