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:
parent
c464420c89
commit
245efbba4d
@ -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:
|
||||
*
|
||||
|
@ -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:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user