From b9032978785be65dcc189ea982bd843fa8453b80 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 4 Jul 2010 18:18:58 +0200 Subject: s3: Remove procid_self() from init_strict_lock_struct() --- source3/locking/locking.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/locking') diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 917b436e18..0cd349eeba 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -37,6 +37,7 @@ #include "includes.h" #include "librpc/gen_ndr/messaging.h" +#include "smbd/globals.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_LOCKING @@ -87,7 +88,7 @@ void init_strict_lock_struct(files_struct *fsp, plock->context.smblctx = smblctx; plock->context.tid = fsp->conn->cnum; - plock->context.pid = procid_self(); + plock->context.pid = sconn_server_id(fsp->conn->sconn); plock->start = start; plock->size = size; plock->fnum = fsp->fnum; -- cgit