irix-no-xfs-checks-for-namei-20051017
authorChas Williams <chas@cmf.nrl.navy.mil>
Mon, 17 Oct 2005 21:45:39 +0000 (21:45 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 17 Oct 2005 21:45:39 +0000 (21:45 +0000)
FIXES 22435

don't do inode checks when using namei

src/vol/partition.c

index a5f2d09..f8aa3a8 100644 (file)
@@ -346,13 +346,13 @@ VCheckPartition(char *part, char *devname)
        Log("This program is compiled without AFS_NAMEI_ENV, but partition %s seems to contain volumes which use the namei-interface; aborting\n", part);
        return -1;
     }
-#endif /* AFS_NAMEI_ENV */
-#endif
 
 #ifdef AFS_SGI_XFS_IOPS_ENV
     if (VerifyXFSInodeSize(part, status.st_fstype) < 0)
        return -1;
 #endif
+#endif /* AFS_NAMEI_ENV */
+#endif
 
 #if defined(AFS_DUX40_ENV) && !defined(AFS_NAMEI_ENV)
     if (status.st_ino != ROOTINO) {