FIXES 1329
"The Windows AFS client returns the error
ERROR_NOSUCHFILE, where the same request on a local NTFS volume returns
the error ERROR_NOSUCHPATH."
(cherry picked from commit
ff6394b2e40b4c7c58b32a6e901656a12eb1faf1)
|| (fidflags & (SMB_FID_OPENDELETE | SMB_FID_OPENWRITE))) {
/* look up parent directory */
code = cm_NameI(baseDirp, spacep->data,
- CM_FLAG_FOLLOW | CM_FLAG_CASEFOLD,
+ CM_FLAG_FOLLOW | CM_FLAG_CASEFOLD | CM_FLAG_CHECKPATH,
userp, tidPathp, &req, &dscp);
if (baseFid != 0) smb_ReleaseFID(baseFidp);