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

index a30e9ceccc699c35604eb715e7b95f3f693bd8f7..b7f3164c4e1f8b41b39cdb94cb3a4b4d29079a02 100644 (file)
@@ -276,7 +276,7 @@ struct byte_range_lock *do_lock(struct messaging_context *msg_ctx,
        *perr = brl_lock(msg_ctx,
                        br_lck,
                        smblctx,
-                       procid_self(),
+                       sconn_server_id(fsp->conn->sconn),
                        offset,
                        count,
                        lock_type,