git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eb5616
)
smbd: use fdos_mode() in smb_set_file_disposition_info()
author
Ralph Boehme
<slow@samba.org>
Mon, 19 Oct 2020 19:09:00 +0000
(21:09 +0200)
committer
Ralph Boehme
<slow@samba.org>
Wed, 16 Dec 2020 09:08:32 +0000
(09:08 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index 41f991e4e3a28e43d1f56a3af47671145683dceb..6b856424c62d65448851b61a1a9db2a63bd18105 100644
(file)
--- a/
source3/smbd/trans2.c
+++ b/
source3/smbd/trans2.c
@@
-6896,7
+6896,7
@@
static NTSTATUS smb_set_file_disposition_info(connection_struct *conn,
}
delete_on_close = (CVAL(pdata,0) ? True : False);
- dosmode =
dos_mode(conn, smb_fname
);
+ dosmode =
fdos_mode(fsp
);
DEBUG(10,("smb_set_file_disposition_info: file %s, dosmode = %u, "
"delete_on_close = %u\n",