Ok - fixed a bug in our levelII oplock code. We need to break a level II on
authorJeremy Allison <jra@samba.org>
Thu, 16 Nov 2000 00:59:18 +0000 (00:59 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 16 Nov 2000 00:59:18 +0000 (00:59 +0000)
commit213cd0b5192307cd4b0026cae94b2f52fb1b0c02
treeb23420f37b2748b7a05f74fc33717f4cea9dcc4c
parentb2b59b93ff1c5bdc43b099e2db1ee86fe8514152
Ok - fixed a bug in our levelII oplock code. We need to break a level II on
a byte range lock (write lock only, but Win2k breaks on read lock also so I
do the same) - if you think about why, this is obvious. Also fixed our client
code to do level II oplocks, if requested, and fixed the code where we would
assume the client wanted level II if it advertised itself as being level II
capable - it may not want that.
Jeremy.
14 files changed:
source/include/client.h
source/include/proto.h
source/lib/util.c
source/libsmb/cliconnect.c
source/libsmb/clientgen.c
source/libsmb/clifile.c
source/smbd/fileio.c
source/smbd/negprot.c
source/smbd/oplock.c
source/smbd/reply.c
source/smbd/trans2.c
source/smbd/vfs-wrap.c
source/smbd/vfs.c
source/utils/torture.c