diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-11-03 23:21:00 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-11-03 23:21:00 +0000 |
| commit | b456f7e6b3fd7b2b7f7a2e9b521047ee22456be0 (patch) | |
| tree | f9b945402145d8b9a2eebe35e7f7762dee0c8f59 /sys/kern/subr_disk.c | |
| parent | dfd89d691e4375b1d77a959dfb41fbc8ef393118 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_disk.c')
| -rw-r--r-- | sys/kern/subr_disk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 11fe846dbf4b..af1ab847b1ac 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -41,6 +41,8 @@ disk_dev_synth(dev_t dev) int u, s, p; dev_t pdev; + if (dktype(dev)) + return; LIST_FOREACH(dp, &disklist, d_list) { if (major(dev) != dp->d_devsw->d_maj) continue; |
