From 1c8b44f4ceddc4a56f5ed02a22b10dbd3e39d7b0 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 4 Oct 1999 12:27:58 +0000 Subject: Give the swap device a D_DISK flag against my better judgement. TODO: add an open routing which fails for bdev opens. --- sys/vm/vm_swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/vm') diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c index f3c0e86..4fc57a0 100644 --- a/sys/vm/vm_swap.c +++ b/sys/vm/vm_swap.c @@ -81,7 +81,7 @@ static struct cdevsw sw_cdevsw = { /* maj */ CDEV_MAJOR, /* dump */ nodump, /* psize */ nopsize, - /* flags */ 0, + /* flags */ D_DISK, /* bmaj */ BDEV_MAJOR }; -- cgit v1.1