diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-01-20 19:43:46 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-01-20 19:43:46 +0000 |
| commit | 552947cc401ecead6373ef7db252d8c231110c19 (patch) | |
| tree | 2f8133824e8e04e6d734706ff32c7eb3904013c6 /sys/dev/raidframe | |
| parent | e7df904ba9681b4f05aee1474451ecc612925ef4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_freebsdkintf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c index fdd3d8b678a9..e2b2508349d4 100644 --- a/sys/dev/raidframe/rf_freebsdkintf.c +++ b/sys/dev/raidframe/rf_freebsdkintf.c @@ -2496,7 +2496,11 @@ rf_search_label(dev_t dev, struct disklabel *label, RF_AutoConfig_t **ac_list) if (label->d_partitions[i].p_fstype != FS_RAID) continue; +#if 0 /* GEOM */ dev1 = dkmodpart(dev, i); +#else + dev1 = NULL; +#endif if (dev1 == NULL) { rf_printf(1, "dev1 == null\n"); continue; |
