winnt-give-nosuchpath-if-thats-what-we-mean-20030314

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."
This commit is contained in:
Ryan Lantzer 2003-03-14 19:45:40 +00:00 committed by Derrick Brashear
parent de4a11b01d
commit ff6394b2e4

View File

@ -3139,7 +3139,7 @@ long smb_ReceiveNTCreateX(smb_vc_t *vcp, smb_packet_t *inp, smb_packet_t *outp)
|| (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);