s3: Remove procid_self() from fill_share_mode_entry()
authorVolker Lendecke <vl@samba.org>
Sun, 4 Jul 2010 16:20:11 +0000 (18:20 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Jul 2010 09:06:26 +0000 (11:06 +0200)
source3/locking/locking.c

index 0cd349eeba8970518988922c719cf014ebe27600..0e41705e8e04e5f02cad4e765da278f1d894a35e 100644 (file)
@@ -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;