smbd: Remove the ZERO_ZERO define
authorVolker Lendecke <vl@samba.org>
Wed, 15 May 2024 15:26:27 +0000 (17:26 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2024 04:23:29 +0000 (04:23 +0000)
commit979f3e239906b2a6b5d648bbed6241f327fd7075
tree9a359434be5837c277c67aff390a14706627d459
parent3542f938c5368f41682b3503bbf3a4dc07ef6fd9
smbd: Remove the ZERO_ZERO define

This code went in with e8e98c9ea06 in 2001 without any mention in the
commit message.

I don't remember all details, but there was some discussion around the
offset=0,length=0 lock being somehow special. These days [MS-FSA]
defines the required behaviour (don't conflict) and we implement that
behaviour.

If someone still remembers why this code is in and thinks it's
worthwhile, that's what version control is for.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/locking/brlock.c