git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc1ebb
)
TODO - DO PROPERLY s3:smbd:smb2: always add O_RDWR to ctdb-reconnect
author
Michael Adam
<obnox@samba.org>
Sat, 3 Mar 2012 00:17:55 +0000
(
01:17
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 10 May 2012 16:42:01 +0000
(18:42 +0200)
source3/smbd/smb2_create.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_create.c
b/source3/smbd/smb2_create.c
index c2384118c76371a9319abd684da57b238ed17dbe..bd407fdadf03745c2eca34f31ff058ba625e9133 100644
(file)
--- a/
source3/smbd/smb2_create.c
+++ b/
source3/smbd/smb2_create.c
@@
-574,7
+574,7
@@
DEBUG(0, ("OBNOX - durable_reconnect: before open file (%s:%s)\n", __location__,
fsp->fh->fd = SMB_VFS_OPEN(conn,
smb_fname,
fsp,
- e->flags
,
+ e->flags
| O_RDWR, /* TODO: parse open flags */
0 /* mode */);
if (fsp->fh->fd == -1) {
status = map_nt_error_from_unix(errno);