1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00

Defensive brlock and locking database cleaning code.

Jeremy.
This commit is contained in:
Jeremy Allison
-
parent 946cf3a0d7
commit d7aa42e459
4 changed files with 165 additions and 50 deletions

View File

@@ -1242,6 +1242,7 @@ struct packet_struct *receive_unexpected(enum packet_type packet_type, int id,
/* The following definitions come from locking/brlock.c */
void brl_init(int read_only);
void brl_shutdown(int read_only);
BOOL brl_lock(SMB_DEV_T dev, SMB_INO_T ino, int fnum,
uint16 smbpid, pid_t pid, uint16 tid,
br_off start, br_off size,