diff options
author | phk <phk@FreeBSD.org> | 2004-07-28 20:21:04 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-07-28 20:21:04 +0000 |
commit | 075684f5fd95ff260b840fae30443cbffbf7cd0c (patch) | |
tree | bb9b337be34857e1f2678255e52c991d2c62a0a3 /sys/fs/hpfs/hpfs_vfsops.c | |
parent | 9507df06e35de2ec5980481ede329d5b2c0941d0 (diff) | |
download | FreeBSD-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/fs/hpfs/hpfs_vfsops.c')
-rw-r--r-- | sys/fs/hpfs/hpfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/hpfs/hpfs_vfsops.c b/sys/fs/hpfs/hpfs_vfsops.c index 1459ed8..9ea6cfb 100644 --- a/sys/fs/hpfs/hpfs_vfsops.c +++ b/sys/fs/hpfs/hpfs_vfsops.c @@ -232,7 +232,7 @@ hpfs_mountfs(devvp, mp, argsp, td) ncount = vcount(devvp); if (devvp->v_object) ncount -= 1; - if (ncount > 1 && devvp != rootvp) + if (ncount > 1) return (EBUSY); vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, td); |