Plug build break after r340411.

This commit is contained in:
Gleb Smirnoff 2018-11-13 23:44:27 +00:00
parent 9f360eecf9
commit d4f7db4764
3 changed files with 7 additions and 7 deletions

View File

@ -126,7 +126,7 @@ void dumpabort(int signo) __dead2;
void dump_getfstab(void);
char *rawname(char *cp);
union dinode *getinode(ino_t inum, int *mode);
union dinode *getinode0(ino_t inum, int *mode);
/* rdump routines */
#ifdef RDUMP

View File

@ -549,7 +549,7 @@ main(int argc, char *argv[])
/*
* Skip directory inodes deleted and maybe reallocated
*/
dp = getinode(ino, &mode);
dp = getinode0(ino, &mode);
if (mode != IFDIR)
continue;
(void)dumpino(dp, ino);
@ -568,7 +568,7 @@ main(int argc, char *argv[])
/*
* Skip inodes deleted and reallocated as directories.
*/
dp = getinode(ino, &mode);
dp = getinode0(ino, &mode);
if (mode == IFDIR)
continue;
(void)dumpino(dp, ino);

View File

@ -195,7 +195,7 @@ mapfiles(ino_t maxino, long *tapesize)
}
for (i = 0; i < inosused; i++, ino++) {
if (ino < UFS_ROOTINO ||
(dp = getinode(ino, &mode)) == NULL ||
(dp = getinode0(ino, &mode)) == NULL ||
(mode & IFMT) == 0)
continue;
if (ino >= maxino) {
@ -277,7 +277,7 @@ mapdirs(ino_t maxino, long *tapesize)
nodump = !nonodump && (TSTINO(ino, usedinomap) == 0);
if ((isdir & 1) == 0 || (TSTINO(ino, dumpinomap) && !nodump))
continue;
dp = getinode(ino, &i);
dp = getinode0(ino, &i);
/*
* inode buf may change in searchdir().
*/
@ -421,7 +421,7 @@ searchdir(
continue;
}
if (nodump) {
ip = getinode(dp->d_ino, &mode);
ip = getinode0(dp->d_ino, &mode);
if (TSTINO(dp->d_ino, dumpinomap)) {
CLRINO(dp->d_ino, dumpinomap);
*tapesize -= blockest(ip);
@ -875,7 +875,7 @@ writeheader(ino_t ino)
}
union dinode *
getinode(ino_t inum, int *modep)
getinode0(ino_t inum, int *modep)
{
static ino_t minino, maxino;
static caddr_t inoblock;