based on complaint from Ryan Underwood on openafs-info.
translate to EDQUOT and ENOSPC actually instead of just returning random
numbers
return EWOULDBLOCK;
if (acode == VNOVNODE)
return ENOENT;
+ if (acode == VDISKFULL)
+ return ENOSPC;
+ if (acode == VOVERQUOTA)
+ return
+#ifdef EDQUOT
+ EDQUOT
+#else
+ ENOSPC
+#endif
+ ;
+
return acode;
} /*afs_CheckCode*/
afs_warnuser(problem_fmt, avolume, partfull);
}
else
-#ifndef AFS_SUN5_ENV
+#ifdef EDQUOT
/* EDQUOT doesn't exist on solaris and won't be sent by the server.
* Instead ENOSPC will be sent...
*/