Remove vfs_getrootfsid() function (a temporary hack added a few months

ago to make BOOTP work again).  It is no longer required by BOOTP and
    no longer used.
This commit is contained in:
Matthew Dillon 1999-11-29 22:25:36 +00:00
parent c464420c89
commit 245efbba4d
2 changed files with 0 additions and 34 deletions

View File

@ -358,23 +358,6 @@ vfs_getnewfsid(mp)
simple_unlock(&mntid_slock);
}
/*
* Get what should become the root fsid.
*
* This is somewhat of a hack. If the rootdev is not known we
* assume that vfs_getnewfsid() will be called momentarily to
* allocate it, and we return what vfs_getnewfsid() will return.
*/
dev_t
vfs_getrootfsid(struct mount *mp)
{
int mtype;
mtype = mp->mnt_vfc->vfc_typenum;
return(makedev(255, mtype + (mntid_base << 16)));
}
/*
* Knob to control the precision of file timestamps:
*

View File

@ -358,23 +358,6 @@ vfs_getnewfsid(mp)
simple_unlock(&mntid_slock);
}
/*
* Get what should become the root fsid.
*
* This is somewhat of a hack. If the rootdev is not known we
* assume that vfs_getnewfsid() will be called momentarily to
* allocate it, and we return what vfs_getnewfsid() will return.
*/
dev_t
vfs_getrootfsid(struct mount *mp)
{
int mtype;
mtype = mp->mnt_vfc->vfc_typenum;
return(makedev(255, mtype + (mntid_base << 16)));
}
/*
* Knob to control the precision of file timestamps:
*