diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 18:43:39 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-05 11:06:28 +0200 |
commit | c49f6a681dca609353263410c809a8c0c90f7aae (patch) | |
tree | 02356accc1c3744e848580423d322f8486dc351c | |
parent | d42806a01389fc3f265f3490228c3f82600d7077 (diff) | |
download | samba-c49f6a681dca609353263410c809a8c0c90f7aae.tar.gz samba-c49f6a681dca609353263410c809a8c0c90f7aae.tar.bz2 samba-c49f6a681dca609353263410c809a8c0c90f7aae.zip |
s3: Remove procid_self() from generic_blocking_lock_error()
-rw-r--r-- | source3/smbd/blocking.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c index 73413ef3ec..4dff1d5f18 100644 --- a/source3/smbd/blocking.c +++ b/source3/smbd/blocking.c @@ -301,7 +301,8 @@ static void generic_blocking_lock_error(struct blocking_lock_record *blr, NTSTAT if (fsp) { fsp->last_lock_failure.context.smblctx = blr->smblctx; fsp->last_lock_failure.context.tid = fsp->conn->cnum; - fsp->last_lock_failure.context.pid = procid_self(); + fsp->last_lock_failure.context.pid = + sconn_server_id(fsp->conn->sconn); fsp->last_lock_failure.start = blr->offset; fsp->last_lock_failure.size = blr->count; fsp->last_lock_failure.fnum = fsp->fnum; |