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

index b7f3164c4e1f8b41b39cdb94cb3a4b4d29079a02..ead39ddcdb05c140a0d177814bca54a338addccf 100644 (file)
@@ -325,7 +325,7 @@ NTSTATUS do_unlock(struct messaging_context *msg_ctx,
        ok = brl_unlock(msg_ctx,
                        br_lck,
                        smblctx,
-                       procid_self(),
+                       sconn_server_id(fsp->conn->sconn),
                        offset,
                        count,
                        lock_flav);