summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_target_mirror.c
diff options
context:
space:
mode:
authorhaad <haad@NetBSD.org>2009-12-01 23:12:09 +0000
committerhaad <haad@NetBSD.org>2009-12-01 23:12:09 +0000
commitf26bfe28da955f176f43dabbb209af4234115b39 (patch)
tree6c52caca3665579f2502051c2ca0afbbf44a561a /sys/dev/dm/dm_target_mirror.c
parentcfa2bb1730d4cd54aa2b79d4913c5a8921e97e71 (diff)
Revert my commit which have added knowledge about dm targets to libdevmapper,
this breaks abstraction. Because only lvmtools/lvmlib and device-mapper can have knowledge about target mapping and libdevmapper only passes requests from lvmtools to kernel and back. Bump major library and driver version. Requested by: yamt@
Diffstat (limited to 'sys/dev/dm/dm_target_mirror.c')
-rw-r--r--sys/dev/dm/dm_target_mirror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/dm/dm_target_mirror.c b/sys/dev/dm/dm_target_mirror.c
index 9f1a17e9404..f04a6490f3b 100644
--- a/sys/dev/dm/dm_target_mirror.c
+++ b/sys/dev/dm/dm_target_mirror.c
@@ -1,4 +1,4 @@
-/*$NetBSD: dm_target_mirror.c,v 1.6 2009/06/05 19:56:40 haad Exp $*/
+/*$NetBSD: dm_target_mirror.c,v 1.7 2009/12/01 23:12:10 haad Exp $*/
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -104,7 +104,7 @@ dm_target_mirror_modcmd(modcmd_t cmd, void *arg)
* 0 52428800 mirror clustered_disk 4 253:2 1024 UUID block_on_error 3 253:3 0 253:4 0 253:5 0
*/
int
-dm_target_mirror_init(dm_dev_t *dmv, void **target_config, prop_dictionary_t dict)
+dm_target_mirror_init(dm_dev_t *dmv, void **target_config, char *argv)
{
printf("Mirror target init function called!!\n");