From f26bfe28da955f176f43dabbb209af4234115b39 Mon Sep 17 00:00:00 2001 From: haad Date: Tue, 1 Dec 2009 23:12:09 +0000 Subject: 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@ --- sys/dev/dm/dm_target_error.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/dm/dm_target_error.c') diff --git a/sys/dev/dm/dm_target_error.c b/sys/dev/dm/dm_target_error.c index a6ab9bfc023..f2ac12ae271 100644 --- a/sys/dev/dm/dm_target_error.c +++ b/sys/dev/dm/dm_target_error.c @@ -1,4 +1,4 @@ -/* $NetBSD: dm_target_error.c,v 1.8 2009/06/05 19:56:40 haad Exp $ */ +/* $NetBSD: dm_target_error.c,v 1.9 2009/12/01 23:12:10 haad Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -100,7 +100,7 @@ dm_target_error_modcmd(modcmd_t cmd, void *arg) /* Init function called from dm_table_load_ioctl. */ int -dm_target_error_init(dm_dev_t *dmv, void **target_config, prop_dictionary_t dict) +dm_target_error_init(dm_dev_t *dmv, void **target_config, char *argv) { printf("Error target init function called!!\n"); -- cgit