STABLE12-salvager-aix-update-20030407

make it work with namei


(cherry picked from commit 3ab37f7148)
This commit is contained in:
Michael Niksch 2003-04-07 18:54:45 +00:00 committed by Derrick Brashear
parent d6e1a033b0
commit dcbfb6a781

View 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 &&