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

(cherry picked from commit 3ab37f714824d90701caa9123fc7c820aa411bcb)

src/vol/vol-salvage.c

index b21032f2d174b0bef333b8a3d1d07168735e076b..801c97484d88efa8a9ad092120f08d9fe4f0cf03 100644 (file)
@@ -2705,6 +2705,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.
@@ -2720,6 +2721,7 @@ void JudgeEntry(struct DirSummary *dir, char *name, VnodeId vnodeNumber,
        }
        return;
     }
+#endif
 #endif
 
     if (!(vnodeNumber & 1) && !Showmode &&