From: Michael Niksch Date: Mon, 7 Apr 2003 18:54:45 +0000 (+0000) Subject: STABLE12-salvager-aix-update-20030407 X-Git-Tag: openafs-stable-1_2_9~10 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=dcbfb6a7816f3f8fcfdcdadb00084242e894b193;p=packages%2Fo%2Fopenafs.git STABLE12-salvager-aix-update-20030407 make it work with namei (cherry picked from commit 3ab37f714824d90701caa9123fc7c820aa411bcb) --- diff --git a/src/vol/vol-salvage.c b/src/vol/vol-salvage.c index b21032f2d..801c97484 100644 --- a/src/vol/vol-salvage.c +++ b/src/vol/vol-salvage.c @@ -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 &&