summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_default.c
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-12-01 12:47:31 -0800
committerTim Prouty <tprouty@samba.org>2008-12-03 17:51:44 -0800
commit58440122853b65048793efd90ee45916e25c08c1 (patch)
treeb45857ab9f281dde20f34ea046009a9ea0df7ae6 /source3/modules/vfs_default.c
parentf79aae70dd10877311243b5b2a55e1f130bd54b6 (diff)
downloadsamba-58440122853b65048793efd90ee45916e25c08c1.tar.gz
samba-58440122853b65048793efd90ee45916e25c08c1.tar.bz2
samba-58440122853b65048793efd90ee45916e25c08c1.zip
s3: Change SMB_VFS_CREATE_FILE to take a create_file_flags argument
This replaces the is_dos_path bool with a more future-proof argument. The next step is to plumb INTERNAL_OPEN_ONLY through this flag instead of overridding the oplock_request.
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r--source3/modules/vfs_default.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index fde899d1af..6d8d8f8065 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -212,7 +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 create_file_flags,
uint32_t access_mask,
uint32_t share_access,
uint32_t create_disposition,
@@ -227,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,
- is_dos_path, access_mask, share_access,
+ create_file_flags, access_mask, share_access,
create_disposition, create_options,
file_attributes, oplock_request,
allocation_size, sd, ea_list, result, pinfo,