We can now remove the call to parent_smb_fname().
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
struct share_mode_lock *lck = NULL;
uint32_t open_access_mask = access_mask;
NTSTATUS status;
- struct smb_filename *parent_dir_fname = NULL;
+ struct smb_filename *parent_dir_fname = parent_dir_fname_in;
SMB_STRUCT_STAT saved_stat = smb_fname->st;
struct timespec old_write_time;
bool setup_poll = false;
req->vuid);
}
- status = SMB_VFS_PARENT_PATHNAME(conn,
- talloc_tos(),
- smb_fname,
- &parent_dir_fname,
- NULL);
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
if (new_dos_attributes & FILE_FLAG_POSIX_SEMANTICS) {
posix_open = True;
unx_mode = (mode_t)(new_dos_attributes & ~FILE_FLAG_POSIX_SEMANTICS);