diff options
author | dillon <dillon@FreeBSD.org> | 1999-11-29 22:25:36 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-11-29 22:25:36 +0000 |
commit | 881e17e778165a7b9996e02b2536b0bc141ea759 (patch) | |
tree | c06339b37fba018d2686243a4efc50d00452190e /sys/kern/vfs_export.c | |
parent | 9809b71a89596df0e6c511a25a2219593178436c (diff) | |
download | FreeBSD-src-881e17e778165a7b9996e02b2536b0bc141ea759.zip FreeBSD-src-881e17e778165a7b9996e02b2536b0bc141ea759.tar.gz |
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.
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r-- | sys/kern/vfs_export.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 1b0494e..a19c3d2 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -359,23 +359,6 @@ vfs_getnewfsid(mp) } /* - * 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: * * 0 = seconds only; nanoseconds zeroed. |