diff options
author | Jeremy Allison <jra@samba.org> | 2000-04-27 21:12:33 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-04-27 21:12:33 +0000 |
commit | 0487841120a7584da9a2b83b9574562c415d7024 (patch) | |
tree | fcd7e6444990efa8668ea2757401d6476e731457 /source/include/proto.h | |
parent | 5278ec016cb24d8263fe6e7c1d389f466270ef24 (diff) | |
download | samba-0487841120a7584da9a2b83b9574562c415d7024.tar.gz samba-0487841120a7584da9a2b83b9574562c415d7024.tar.xz samba-0487841120a7584da9a2b83b9574562c415d7024.zip |
Did the rewrite Andrew wanted where all knowledge of POSIX locking is
removed from the smbd/open.c code.
We now use a dlink list of structures indexed by dev/inode to store
all pending fd's for close. This could be rewritten to use lib/hash.c
if this is discovered to be too slow in use.
Andrew, please take a look and let me know if this is what you
had in mind.
Jeremy.
Diffstat (limited to 'source/include/proto.h')
-rw-r--r-- | source/include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index 79ebe331ad0..8c6fcd56b74 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -831,6 +831,7 @@ int brl_forall(BRLOCK_FN(fn)); /*The following definitions come from locking/locking.c */ +BOOL fd_close_posix_locks(struct connection_struct *conn, files_struct *fsp); BOOL is_locked(files_struct *fsp,connection_struct *conn, SMB_BIG_UINT count,SMB_BIG_UINT offset, enum brl_type lock_type); |