]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
dux-make-namei-fileserver-work-20020304
authorMattias Amnefelt <mattiasa@e.kth.se>
Mon, 4 Mar 2002 16:47:22 +0000 (16:47 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 4 Mar 2002 16:47:22 +0000 (16:47 +0000)
namei should now work on tru64 (tested on 5.0a)

src/config/param.alpha_dux50.h
src/vol/partition.c

index 651fadbdf728c56d29d7199676560c0874067045..c44909593cb81de9c204dfdf9466961bb75f58ca 100644 (file)
 #define AFS_HAVE_STATVFS       1       /* System supports statvfs */
 
 #define AFS_GCPAGS             1       /* if nonzero, garbage collect PAGs */
+
+#ifdef AFS_NAMEI_ENV
+#define AFS_64BIT_IOPS_ENV     1       /* needed for NAMEI... */
+#else
 #define AFS_3DISPARES   1       /* Utilize the 3 available disk inode spares */
+#endif
+
 #define AFS_USE_GETTIMEOFDAY 1  /* use gettimeofday to implement rx clock */
 
 #if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
index 9c0b91d3d5693008b4a9fc2114623d5dba77d5bc..e36176157020a0471eea00bc9a37a0554c683ecb 100644 (file)
@@ -299,7 +299,7 @@ int VCheckPartition(part, devname)
        return -1;
 #endif
 
-#ifdef AFS_DUX40_ENV
+#if defined(AFS_DUX40_ENV) && !defined(AFS_NAMEI_ENV)
     if (status.st_ino != ROOTINO) {
        Log("%s is not a mounted file system; ignored.\n", part);
        return 0;