[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Thu Oct 7 09:46:05 MDT 2010


The branch, v3-5-test has been updated
       via  9f8292e s3: Stop using the write cache after an oplock break
      from  5e7e402 Fix bug 7694 - Crash bug with invalid SPNEGO token.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit 9f8292e5f765dff586bfbb261b54da4d4b27a837
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Oct 2 17:07:00 2010 +0200

    s3: Stop using the write cache after an oplock break
    
    Fix bug #7715 (Setting Samba Write Cache Size Can Cause File Corruption).

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/oplock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index cdb6093..ff5f6ad 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -118,6 +118,7 @@ void release_file_oplock(files_struct *fsp)
 	fsp->sent_oplock_break = NO_BREAK_SENT;
 
 	flush_write_cache(fsp, OPLOCK_RELEASE_FLUSH);
+	delete_write_cache(fsp);
 
 	TALLOC_FREE(fsp->oplock_timeout);
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list