summaryrefslogtreecommitdiff
path: root/source3/locking/brlock.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-03-05 19:54:45 +0000
committerAndrew Tridgell <tridge@samba.org>2002-03-05 19:54:45 +0000
commitd160b3524063607b6e7431ec5973af3eaa176f6c (patch)
treebe28304e4618b3c32f05103377f5f69da9a5d9a0 /source3/locking/brlock.c
parent457112e9e4c7f138aaad98807d141f999c07463d (diff)
downloadsamba-d160b3524063607b6e7431ec5973af3eaa176f6c.tar.gz
samba-d160b3524063607b6e7431ec5973af3eaa176f6c.tar.bz2
samba-d160b3524063607b6e7431ec5973af3eaa176f6c.zip
accept the 0/0 lock but don't treat it in any sort of special way
(This used to be commit 8f7bf38de16a1f5316aa6a413fb697c43862c4c6)
Diffstat (limited to 'source3/locking/brlock.c')
-rw-r--r--source3/locking/brlock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index 2131919674..10c1d5053b 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -293,7 +293,6 @@ NTSTATUS brl_lock(SMB_DEV_T dev, SMB_INO_T ino, int fnum,
#if !ZERO_ZERO
if (start == 0 && size == 0) {
DEBUG(0,("client sent 0/0 lock - please report this\n"));
- return NT_STATUS_INVALID_PARAMETER;
}
#endif