fd and so we should not immediately close the fd.
****************************************************************************/
-void brl_close_fnum(struct messaging_context *msg_ctx,
- struct byte_range_lock *br_lck)
+void brl_close_fnum(struct byte_range_lock *br_lck)
{
files_struct *fsp = br_lck->fsp;
uint32_t tid = fsp->conn->cnum;
* implictly, we're closing the file and thus remove a
* share mode. This will wake the waiters.
*/
- brl_close_fnum(msg_ctx, br_lck);
+ brl_close_fnum(br_lck);
TALLOC_FREE(br_lck);
}
}
enum brl_flavour lock_flav);
bool brl_mark_disconnected(struct files_struct *fsp);
bool brl_reconnect_disconnected(struct files_struct *fsp);
-void brl_close_fnum(struct messaging_context *msg_ctx,
- struct byte_range_lock *br_lck);
+void brl_close_fnum(struct byte_range_lock *br_lck);
int brl_forall(void (*fn)(struct file_id id, struct server_id pid,
enum brl_type lock_type,
enum brl_flavour lock_flav,