]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
namei should now work on tru64 (tested on 5.0a)
authorMattias Amnefelt <mattiasa@e.kth.se>
Sun, 21 Apr 2002 06:04:50 +0000 (06:04 +0000)
committerGarry Zacheiss <zacheiss@mit.edu>
Sun, 21 Apr 2002 06:04:50 +0000 (06:04 +0000)
(cherry picked from commit 459815329bc52d5d264ed5f1ffbfae490d88a552)

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 cb16224a5a45fdf4b4ce9bac4594f770e912ed42..fcdafbe9a44d0f982dbb33e2b8e64e1f82480fee 100644 (file)
@@ -303,7 +303,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;