]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE140-irix-no-xfs-checks-for-namei-20051017
authorChas Williams <chas@cmf.nrl.navy.mil>
Mon, 17 Oct 2005 21:48:29 +0000 (21:48 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 17 Oct 2005 21:48:29 +0000 (21:48 +0000)
FIXES 22435

don't do inode checks when using namei

(cherry picked from commit 1ed8428d1e4710594a299d9e6d765a1bb414cb2a)

src/vol/partition.c

index a5f2d093e26e13afafee7cbd60f2f37a27fbf11a..f8aa3a81dd59dcb4d803c02164b42fcf37f18b87 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) {