summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 11:44:14 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:51 +0200
commit96acccf26173d5e33362929330d4aae19d09fe92 (patch)
tree31a3b79e261d0f99dbe98ac0e6af99f908c4c2f7
parentfd1891829a60967114353e42dc3ee73b84e1ac33 (diff)
downloadsamba-96acccf26173d5e33362929330d4aae19d09fe92.tar.gz
samba-96acccf26173d5e33362929330d4aae19d09fe92.tar.bz2
samba-96acccf26173d5e33362929330d4aae19d09fe92.zip
s3: Remove smbd_server_conn from reply_lockread
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 6c93bd19e7..79218ba910 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3207,7 +3207,7 @@ void reply_lockread(struct smb_request *req)
files_struct *fsp;
struct byte_range_lock *br_lck = NULL;
char *p = NULL;
- struct smbd_server_connection *sconn = smbd_server_conn;
+ struct smbd_server_connection *sconn = req->sconn;
START_PROFILE(SMBlockread);