The disklabel/slice code is more twisted than I thought. Revert to

calling the cdevsw_add() unconditionally.
This commit is contained in:
phk 2001-05-28 16:12:55 +00:00
parent 5e17a4447b
commit 8a71a60369

View File

@ -124,6 +124,7 @@ disk_create(int unit, struct disk *dp, int flags, struct cdevsw *cdevsw, struct
proto->d_ioctl = diskioctl;
proto->d_strategy = diskstrategy;
proto->d_psize = diskpsize;
cdevsw_add(proto);
}
if (bootverbose)