s3: Stop using the write cache after an oplock break
authorVolker Lendecke <vl@samba.org>
Sat, 2 Oct 2010 15:07:00 +0000 (17:07 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Jan 2011 16:58:51 +0000 (17:58 +0100)
commitfc80176d53a35c5e0d188c82f3cc301106c87671
tree9d50e122a30b51f109e4fbac8f2a94974ce3ca78
parente3e35faada0c5baa40d4b3b67341cb30a66233cd
s3: Stop using the write cache after an oplock break

Fix bug #7715 (Setting Samba Write Cache Size Can Cause File Corruption).
(cherry picked from commit 9f8292e5f765dff586bfbb261b54da4d4b27a837)
(cherry picked from commit e18ef6cdf042a73e7f08b792e4a9901b071b1f67)
source3/smbd/oplock.c