status = create_file(conn, req, root_dir_fid, fname,
access_mask, share_access, create_disposition,
- create_options, file_attributes, flags,
+ create_options, file_attributes, oplock_request,
allocation_size, NULL, NULL, &fsp, &info, &sbuf);
if (!NT_STATUS_IS_OK(status)) {
status = create_file(conn, req, root_dir_fid, fname,
access_mask, share_access, create_disposition,
- create_options, file_attributes, flags,
+ create_options, file_attributes, oplock_request,
allocation_size, sd, ea_list, &fsp, &info, &sbuf);
if(!NT_STATUS_IS_OK(status)) {