Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 06/16/1997 20:30:04
thorpej
Mon Jun 16 13:21:58 PDT 1997
Update of /cvsroot/src/sys/vm
In directory netbsd1:/var/slash-tmp/cvs-serv28290
Modified Files:
vm_swap.c
Log Message:
Remove the code that sets dumpdev, for two reasons:
- It was incorrect. A dev_t should _never_ be compared against
NULL, as 0 is a valid value (major 0, minor 0).
- The operator mave have _intentionally_ set dumpdev to "none"
(i.e. NODEV), and setting it the first time a VBLK swap device
is added would break the semantics.
setroot() deals with all dump device selection. Dumps and swap are now
in no way related.