AFS_STATCNT(afs_create);
- OutFidStatus = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
- OutDirStatus = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
+ OutFidStatus = osi_AllocSmallSpace(sizeof(struct AFSFetchStatus));
+ OutDirStatus = osi_AllocSmallSpace(sizeof(struct AFSFetchStatus));
if ((code = afs_CreateReq(&treq, acred)))
goto done2;
afs_Trace2(afs_iclSetp, CM_TRACE_MKDIR, ICL_TYPE_POINTER, adp,
ICL_TYPE_STRING, aname);
- OutFidStatus = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
- OutDirStatus = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
+ OutFidStatus = osi_AllocSmallSpace(sizeof(struct AFSFetchStatus));
+ OutDirStatus = osi_AllocSmallSpace(sizeof(struct AFSFetchStatus));
if ((code = afs_CreateReq(&treq, acred)))
goto done2;
afs_Trace3(afs_iclSetp, CM_TRACE_LINK, ICL_TYPE_POINTER, adp,
ICL_TYPE_POINTER, avc, ICL_TYPE_STRING, aname);
- OutFidStatus = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
- OutDirStatus = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
+ OutFidStatus = osi_AllocSmallSpace(sizeof(struct AFSFetchStatus));
+ OutDirStatus = osi_AllocSmallSpace(sizeof(struct AFSFetchStatus));
/* create a hard link; new entry is aname in dir adp */
if ((code = afs_CreateReq(&treq, acred)))
ICL_TYPE_STRING, aname1, ICL_TYPE_POINTER, andp,
ICL_TYPE_STRING, aname2);
- OutOldDirStatus = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
- OutNewDirStatus = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
+ OutOldDirStatus = osi_AllocSmallSpace(sizeof(struct AFSFetchStatus));
+ OutNewDirStatus = osi_AllocSmallSpace(sizeof(struct AFSFetchStatus));
if (strlen(aname1) > AFSNAMEMAX || strlen(aname2) > AFSNAMEMAX) {
code = ENAMETOOLONG;
afs_Trace2(afs_iclSetp, CM_TRACE_SYMLINK, ICL_TYPE_POINTER, adp,
ICL_TYPE_STRING, aname);
- OutFidStatus = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
- OutDirStatus = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
+ OutFidStatus = osi_AllocSmallSpace(sizeof(struct AFSFetchStatus));
+ OutDirStatus = osi_AllocSmallSpace(sizeof(struct AFSFetchStatus));
if ((code = afs_CreateReq(&treq, acred)))
goto done2;