summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-08-13 06:25:34 +0000
committermav <mav@FreeBSD.org>2013-08-13 06:25:34 +0000
commitd9e76bbffc59d724ea0ffe9896012f4ac0859bc7 (patch)
treef8a54b4aeae525b8868bf0cced43425a1f95a668 /sys/geom
parent1ddae2c9b4daa28f2ed167d467092286bda32106 (diff)
downloadFreeBSD-src-d9e76bbffc59d724ea0ffe9896012f4ac0859bc7.zip
FreeBSD-src-d9e76bbffc59d724ea0ffe9896012f4ac0859bc7.tar.gz
Oops, wrong constant at r254269.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/raid/tr_raid5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/raid/tr_raid5.c b/sys/geom/raid/tr_raid5.c
index ea65803..989343b 100644
--- a/sys/geom/raid/tr_raid5.c
+++ b/sys/geom/raid/tr_raid5.c
@@ -107,7 +107,7 @@ g_raid_tr_taste_raid5(struct g_raid_tr_object *tr, struct g_raid_volume *vol)
qual = tr->tro_volume->v_raid_level_qualifier;
if (tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID4 &&
(qual == G_RAID_VOLUME_RLQ_R4P0 ||
- qual == G_RAID_VOLUME_RLQ_R4P0)) {
+ qual == G_RAID_VOLUME_RLQ_R4PN)) {
/* RAID4 */
} else if ((tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID5 ||
tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID5E ||
OpenPOWER on IntegriCloud