mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
The disklabel/slice code is more twisted than I thought. Revert to
calling the cdevsw_add() unconditionally.
This commit is contained in:
parent
abb1dad139
commit
507fbee0ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77343
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user