mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
8bae5d82e2
This removes a kludgy implementation that worked around a locking hierarchy problem: Setting a byte range lock had to contend the level2 oplocks, which are stored in locking.tdb/leases.tdb. We could not access locking.tdb in the brlock.tdb code, as brlock.tdb might have been locked first without locking.tdb, violating the locking hierarchy locking.tdb->brlock.tdb. Now that that problem is gone (see the commit wrapping do_lock() in share_mode_do_locked()), we can remove this kludge. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> |
||
---|---|---|
.. | ||
brlock.c | ||
leases_db.c | ||
leases_db.h | ||
leases_util.c | ||
locking.c | ||
posix.c | ||
proto.h | ||
share_mode_lock.c |