summaryrefslogtreecommitdiffstats
path: root/sys/geom/raid/md_promise.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/raid/md_promise.c')
-rw-r--r--sys/geom/raid/md_promise.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/raid/md_promise.c b/sys/geom/raid/md_promise.c
index 1c93389..6dc0916 100644
--- a/sys/geom/raid/md_promise.c
+++ b/sys/geom/raid/md_promise.c
@@ -171,6 +171,7 @@ static struct g_raid_md_class g_raid_md_promise_class = {
"Promise",
g_raid_md_promise_methods,
sizeof(struct g_raid_md_object),
+ .mdc_enable = 1,
.mdc_priority = 100
};
@@ -1967,4 +1968,4 @@ g_raid_md_free_promise(struct g_raid_md_object *md)
return (0);
}
-G_RAID_MD_DECLARE(g_raid_md_promise);
+G_RAID_MD_DECLARE(promise, "Promise");
OpenPOWER on IntegriCloud