Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
}
if (!S_ISLNK(smb_fname->st.st_ex_mode)) {
- if (get_dosmode) {
- mode = fdos_mode(smb_fname->fsp);
- smb_fname->st = smb_fname->fsp->fsp_name->st;
- }
-
goto done;
}
continue;
}
+done:
if (get_dosmode) {
mode = fdos_mode(smb_fname->fsp);
smb_fname->st = smb_fname->fsp->fsp_name->st;
}
- done:
-
if (!dir_check_ftype(mode, dirtype)) {
DBG_INFO("[%s] attribs 0x%" PRIx32 " didn't match "
"0x%" PRIx32 "\n",