summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-07-28 20:21:04 +0000
committerphk <phk@FreeBSD.org>2004-07-28 20:21:04 +0000
commit075684f5fd95ff260b840fae30443cbffbf7cd0c (patch)
treebb9b337be34857e1f2678255e52c991d2c62a0a3 /sys/nfsclient/nfs_vfsops.c
parent9507df06e35de2ec5980481ede329d5b2c0941d0 (diff)
downloadFreeBSD-src-075684f5fd95ff260b840fae30443cbffbf7cd0c.zip
FreeBSD-src-075684f5fd95ff260b840fae30443cbffbf7cd0c.tar.gz
Remove global variable rootdevs and rootvp, they are unused as such.
Add local rootvp variables as needed. Remove checks for miniroot's in the swappartition. We never did that and most of the filesystems could never be used for that, but it had still been copy&pasted all over the place.
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r--sys/nfsclient/nfs_vfsops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 7382343..f6281ac 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -479,8 +479,6 @@ nfs_mountroot(struct mount *mp, struct thread *td)
return (error);
}
- rootvp = vp;
-
/*
* This is not really an nfs issue, but it is much easier to
* set hostname here and then let the "/etc/rc.xxx" files
OpenPOWER on IntegriCloud