summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 20:20:44 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:31 +0200
commit390c3ffc2a5ec90ad0715c278ecef56a6c1bd9b2 (patch)
tree11a50293bfa8ecfd98b11e635c2f3cd2bb8cd14d
parent6436ea3e7a0000ee1e494b7e81138a948c33c731 (diff)
downloadsamba-390c3ffc2a5ec90ad0715c278ecef56a6c1bd9b2.tar.gz
samba-390c3ffc2a5ec90ad0715c278ecef56a6c1bd9b2.tar.bz2
samba-390c3ffc2a5ec90ad0715c278ecef56a6c1bd9b2.zip
s3: Remove procid_self() from brl_close_fnum()
-rw-r--r--source3/locking/brlock.c3
1 files changed, 2 insertions, 1 deletions
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;