Fix bug #7928 - Samba problems with kernel oplocks option set to "no"
authorPavel Shilovsky <piastry@etersoft.ru>
Mon, 31 Jan 2011 20:00:15 +0000 (12:00 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 31 Jan 2011 20:00:15 +0000 (12:00 -0800)
commit7690d9d70c2425f6357732c0901d9dd18483e097
treeea384f3e757c9256d9b41bd596483fadc4932cfa
parentc9027b664b42ada5a392472cfcaac1a1040cfe91
Fix bug #7928 - Samba problems with kernel oplocks option set to "no"

We should not grant levelII oplocks on a file with existing
byte range locks.
source3/smbd/open.c
source3/smbd/oplock.c