Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Unlock a range of bytes.
****************************************************************************/
-bool brl_unlock(struct messaging_context *msg_ctx,
- struct byte_range_lock *br_lck,
+bool brl_unlock(struct byte_range_lock *br_lck,
uint64_t smblctx,
struct server_id pid,
br_off start,
if (lock->context.tid == tid && serverid_equal(&lock->context.pid, &pid) &&
(lock->fnum == fnum)) {
- brl_unlock(msg_ctx,
+ brl_unlock(
br_lck,
lock->context.smblctx,
pid,
return NT_STATUS_NO_MEMORY;
}
- ok = brl_unlock(msg_ctx,
- br_lck,
+ ok = brl_unlock(br_lck,
smblctx,
messaging_server_id(fsp->conn->sconn->msg_ctx),
offset,
enum brl_flavour lock_flav,
struct server_id *blocker_pid,
uint64_t *psmblctx);
-bool brl_unlock(struct messaging_context *msg_ctx,
- struct byte_range_lock *br_lck,
+bool brl_unlock(struct byte_range_lock *br_lck,
uint64_t smblctx,
struct server_id pid,
br_off start,