static void setup_close_full_information(connection_struct *conn,
struct smb_filename *smb_fname,
- bool posix_open,
struct timespec *out_creation_ts,
struct timespec *out_last_access_ts,
struct timespec *out_last_write_ts,
uint64_t file_size = 0;
uint32_t dos_attrs = 0;
uint16_t flags = 0;
- bool posix_open = false;
*out_creation_ts = (struct timespec){0, SAMBA_UTIME_OMIT};
*out_last_access_ts = (struct timespec){0, SAMBA_UTIME_OMIT};
return NT_STATUS_NO_MEMORY;
}
- posix_open = (fsp->posix_flags & FSP_POSIX_FLAGS_OPEN);
smb_fname = cp_smb_filename(talloc_tos(), fsp->fsp_name);
if (smb_fname == NULL) {
return NT_STATUS_NO_MEMORY;
*/
setup_close_full_information(conn,
smb_fname,
- posix_open,
out_creation_ts,
out_last_access_ts,
out_last_write_ts,
if (in_flags & SMB2_CLOSE_FLAGS_FULL_INFORMATION) {
setup_close_full_information(conn,
smb_fname,
- posix_open,
out_creation_ts,
out_last_access_ts,
out_last_write_ts,