diff options
author | Tim Prouty <tprouty@samba.org> | 2008-11-19 17:55:28 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2008-12-03 17:50:37 -0800 |
commit | f995a7af2a06ccff29f23f1b099e0a84bc948f6e (patch) | |
tree | 4d1b1b193f16ea3c6c5567127084cfe9d74be17b /source3/modules | |
parent | f38d7f20a865b1ff5f7b039dd284d91b2ba7ec26 (diff) | |
download | samba-f995a7af2a06ccff29f23f1b099e0a84bc948f6e.tar.gz samba-f995a7af2a06ccff29f23f1b099e0a84bc948f6e.tar.bz2 samba-f995a7af2a06ccff29f23f1b099e0a84bc948f6e.zip |
s3: Add new "is_dos_path" argument to SMB_VFS_CREATE_FILE
Now unix paths can be differentiated from windows paths so the
underlying create_file implementations can convert paths correctly.
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_default.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index bca06dfaf7..fde899d1af 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -212,6 +212,7 @@ static NTSTATUS vfswrap_create_file(vfs_handle_struct *handle, struct smb_request *req, uint16_t root_dir_fid, const char *fname, + bool is_dos_path, uint32_t access_mask, uint32_t share_access, uint32_t create_disposition, @@ -226,7 +227,7 @@ static NTSTATUS vfswrap_create_file(vfs_handle_struct *handle, SMB_STRUCT_STAT *psbuf) { return create_file_default(handle->conn, req, root_dir_fid, fname, - access_mask, share_access, + is_dos_path, access_mask, share_access, create_disposition, create_options, file_attributes, oplock_request, allocation_size, sd, ea_list, result, pinfo, |