openat_pathref_fsp() deep inside already calls fstat().
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
goto fail;
}
- ret = SMB_VFS_FSTAT(smb_fname_base->fsp,
- &smb_fname_base->st);
- if (ret != 0) {
- DBG_DEBUG("Unable to stat stream [%s]: %s\n",
- smb_fname_str_dbg(smb_fname_base),
- strerror(errno));
- }
-
/*
* https://bugzilla.samba.org/show_bug.cgi?id=10229
* We need to check if the requested access mask