summaryrefslogtreecommitdiffstats
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
commit8f7bf38de16a1f5316aa6a413fb697c43862c4c6 (patch)
tree13d5dd636e89634e99438959fdb7ba90ba62d7ba
parentc2c8c4e713c362d0c6864c6359d90cf6b218e545 (diff)
downloadsamba-8f7bf38de16a1f5316aa6a413fb697c43862c4c6.tar.gz
samba-8f7bf38de16a1f5316aa6a413fb697c43862c4c6.tar.xz
samba-8f7bf38de16a1f5316aa6a413fb697c43862c4c6.zip
accept the 0/0 lock but don't treat it in any sort of special way
-rw-r--r--source/locking/brlock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/locking/brlock.c b/source/locking/brlock.c
index 2131919674e..10c1d5053b7 100644
--- a/source/locking/brlock.c
+++ b/source/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