]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
salvager-aix-update-20030407
authorMichael Niksch <nik@zurich.ibm.com>
Mon, 7 Apr 2003 18:56:28 +0000 (18:56 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 7 Apr 2003 18:56:28 +0000 (18:56 +0000)
make it work with namei

src/vol/vol-salvage.c

index 4a7db5cf102b1299c103091daa5d226dc345085a..9e36a5b27dde44b0fabfd19e17f811f5b049034b 100644 (file)
@@ -2717,6 +2717,7 @@ void JudgeEntry(struct DirSummary *dir, char *name, VnodeId vnodeNumber,
     }
  
 #ifdef AFS_AIX_ENV
+#ifndef AFS_NAMEI_ENV
     /* On AIX machines, don't allow entries to point to inode 0. That is a special 
      * mount inode for the partition. If this inode were deleted, it would crash
      * the machine.
@@ -2732,6 +2733,7 @@ void JudgeEntry(struct DirSummary *dir, char *name, VnodeId vnodeNumber,
        }
        return;
     }
+#endif
 #endif
 
     if (!(vnodeNumber & 1) && !Showmode &&