From 390c3ffc2a5ec90ad0715c278ecef56a6c1bd9b2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 4 Jul 2010 20:20:44 +0200 Subject: s3: Remove procid_self() from brl_close_fnum() --- source3/locking/brlock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index 985b98a468..6c6094cac0 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -26,6 +26,7 @@ #include "includes.h" #include "librpc/gen_ndr/messaging.h" +#include "smbd/globals.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_LOCKING @@ -1483,7 +1484,7 @@ void brl_close_fnum(struct messaging_context *msg_ctx, unsigned int i, j, dcount=0; int num_deleted_windows_locks = 0; struct lock_struct *locks = br_lck->lock_data; - struct server_id pid = procid_self(); + struct server_id pid = sconn_server_id(fsp->conn->sconn); bool unlock_individually = False; bool posix_level2_contention_ended = false; -- cgit