Fixes a few small errors in IRIX-specific code sections
Change-Id: I83e0ca1510eb2d122b9b001f5793f63dabc6ddf1
Reviewed-on: http://gerrit.openafs.org/2154
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Chaz Chandler <clc31@inbox.com>
Tested-by: Chaz Chandler <clc31@inbox.com>
int
osi_TryEvictVCache(struct vcache *avc, int *slept) {
+ int code;
if (!VREFCOUNT_GT(avc,0)
&& avc->opens == 0 && (avc->f.states & CUnlinkedDel) == 0) {
code = afs_FlushVCache(avc, slept);
return 0;
}
+extern char *makesname();
+
struct vcache *
osi_NewVnode(void) {
struct vcache *avc;
AFS_VN_INIT_BUF_LOCK(&(avc->v));
#endif
- avc->v.v_type = afs_globalVFS;
vSetType(avc, VREG);
VN_SET_DPAGES(&(avc->v), (struct pfdat *)NULL);
#endif /* MOUNT_AFS */
#ifdef AFS_SGI65_ENV
+# include <sched.h>
# define SET_RTPRI(P) { \
struct sched_param sp; \
sp.sched_priority = P; \