1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/locking
Jeremy Allison 9a5eb068ab Ok - this is the *third* implementation of this (third time's the charm :-).
This implementation keeps all POSIX lock records in a separate in memory
tdb database only known about in locking/posix.c. In addition, the pending
close fd's are also held in a tdb which has an array of fd's indexed by
device and inode.

The walk-split code uglyness has been moved to posix.c from brlock.c,
which is the only place that needs to know about it, and the extra
functions hacked into brlock to expose internal state have been removed.

This implementation passes smbtorture locktest4, the only thing I need
to check now for completeness is what to do about lock upgrade/downgrades
which Win32 allows under some *very* strange circumstances.

Jeremy.
(This used to be commit 3f655de1c7)
2000-04-28 20:54:23 +00:00
..
brlock.c Ok - this is the *third* implementation of this (third time's the charm :-). 2000-04-28 20:54:23 +00:00
locking.c Ok - this is the *third* implementation of this (third time's the charm :-). 2000-04-28 20:54:23 +00:00
posix.c Ok - this is the *third* implementation of this (third time's the charm :-). 2000-04-28 20:54:23 +00:00