summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 18:20:11 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:26 +0200
commit50db5cb0dfaad0c556c375dee20ee6a2ee881db4 (patch)
tree8456caad092004c0066bf2ec3fbf3669d0522cb2
parentb9032978785be65dcc189ea982bd843fa8453b80 (diff)
downloadsamba-50db5cb0dfaad0c556c375dee20ee6a2ee881db4.tar.gz
samba-50db5cb0dfaad0c556c375dee20ee6a2ee881db4.tar.bz2
samba-50db5cb0dfaad0c556c375dee20ee6a2ee881db4.zip
s3: Remove procid_self() from fill_share_mode_entry()
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 0cd349eeba..0e41705e8e 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -1111,7 +1111,7 @@ static void fill_share_mode_entry(struct share_mode_entry *e,
uid_t uid, uint64_t mid, uint16 op_type)
{
ZERO_STRUCTP(e);
- e->pid = procid_self();
+ e->pid = sconn_server_id(fsp->conn->sconn);
e->share_access = fsp->share_access;
e->private_options = fsp->fh->private_options;
e->access_mask = fsp->access_mask;