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:
6436ea3
)
s3: Remove procid_self() from brl_close_fnum()
author
Volker Lendecke
<vl@samba.org>
Sun, 4 Jul 2010 18:20:44 +0000
(20:20 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 5 Jul 2010 09:06:31 +0000
(11:06 +0200)
source3/locking/brlock.c
patch
|
blob
|
history
diff --git
a/source3/locking/brlock.c
b/source3/locking/brlock.c
index 985b98a468b30e959ba575a31722ef10fab7b5e8..6c6094cac01a0ae709977f02ac8587acb431baef 100644
(file)
--- 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;