From owner-cvs-sys Sun Oct 27 14:31:26 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA20795 for cvs-sys-outgoing; Sun, 27 Oct 1996 14:31:26 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA20776; Sun, 27 Oct 1996 14:31:13 -0800 (PST) Date: Sun, 27 Oct 1996 14:31:13 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199610272231.OAA20776@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_swap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/10/27 14:31:12 Modified: sys/vm vm_swap.c Log: 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]. Revision Changes Path 1.40 +18 -4 src/sys/vm/vm_swap.c