]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r21667: posix_unlink should break existing oplocks.
authorJeremy Allison <jra@samba.org>
Fri, 2 Mar 2007 23:06:53 +0000 (23:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:23 +0000 (12:18 -0500)
Jeremy.

source/smbd/trans2.c

index 1908f567935d0b5c52c702079ea53b1c3bf014fb..86e5f56fe2e7f9f8829814ab8c5a548044a942dc 100644 (file)
@@ -5209,7 +5209,7 @@ static NTSTATUS smb_posix_unlink(connection_struct *conn,
                                FILE_OPEN,
                                0,
                                FILE_FLAG_POSIX_SEMANTICS|0777,
-                               INTERNAL_OPEN_ONLY,
+                               0, /* No oplock, but break existing ones. */
                                &info,
                                &fsp);
                /*