mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
6e7d28c8e0
remove_lease_if_stale() does not have the check if (e == e2) { /* Not ourselves. */ continue; } that remove_share_mode_lease() had. However, remove_share_mode_lease() has already set e->op_type=NO_OPLOCK, so that the if (e->op_type != LEASE_OPLOCK) { continue; } statement has the same effect. Why? The next commit will need it for proper error path cleanup. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> |
||
---|---|---|
.. | ||
brlock.c | ||
leases_db.c | ||
leases_db.h | ||
leases_util.c | ||
locking.c | ||
posix.c | ||
proto.h | ||
share_mode_lock.c |