]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The way we get a vnode for swapdev is not quite kosher. In particular
authorPoul-Henning Kamp <phk@FreeBSD.org>
Sun, 27 Oct 1996 22:31:00 +0000 (22:31 +0000)
committerPoul-Henning Kamp <phk@FreeBSD.org>
Sun, 27 Oct 1996 22:31:00 +0000 (22:31 +0000)
commit281cd9b02087f1c6f3e10c6e837d381b2a9cbf88
tree556f6d7836cdc65973aab9dcf56cbb955895d4be
parent2b0039e0a48ef171f9bc253e5dfb85daee1c7e42
The way we get a vnode for swapdev is not quite kosher.  In particular
it breaks in the DEVFS_ROOT case.  replicate a bit too much of bdevvp()
in here to circumvent the problem.  The real problem is the magic that
lives in bdevsw[1].
sys/vm/vm_swap.c