summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-11-21 22:48:37 -0800
committerJeremy Allison <jra@samba.org>2008-11-21 22:48:37 -0800
commit338303eb379320411829ee3dd1621e490f8d7fe1 (patch)
treed9a7f39cecad48e2ead374e8a7ef20f1feb8c38a /source3/smbd
parent83ff6979f504d50caf725ee62549604630b69be7 (diff)
downloadsamba-338303eb379320411829ee3dd1621e490f8d7fe1.tar.gz
samba-338303eb379320411829ee3dd1621e490f8d7fe1.tar.bz2
samba-338303eb379320411829ee3dd1621e490f8d7fe1.zip
Rever 83ff6979f504d50caf725ee62549604630b69be7 - "Fix the logic bug that caused us to
run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks." as it broke make test. Jeremy.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 018d104d0b..a6867e077c 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2830,13 +2830,7 @@ NTSTATUS create_file_unixpath(connection_struct *conn,
break;
}
- DEBUG(10, ("Recursing into create_file_unixpath for "
- "base %s\n", base));
-
- /* This call will break any oplock on the base file,
- * but will not actually open an underlying fd. */
-
- status = create_file_unixpath(conn, req, base, 0,
+ status = create_file_unixpath(conn, NULL, base, 0,
FILE_SHARE_READ
| FILE_SHARE_WRITE
| FILE_SHARE_DELETE,