mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
STABLE12-salvager-aix-update-20030407
make it work with namei
(cherry picked from commit 3ab37f7148
)
This commit is contained in:
parent
d6e1a033b0
commit
dcbfb6a781
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user