Module Name: src
Committed By: tkusumi
Date: Mon Dec 9 15:30:42 UTC 2019
Modified Files:
src/sys/dev/dm: dm_target_stripe.c
Log Message:
dm: Correct target name "stripe" -> "striped"
Sync with Linux kernel.
The file name is "stripe", but the target name is "striped".
DragonFlyBSD also follows this.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/dm/dm_target_stripe.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/dm/dm_target_stripe.c
diff -u src/sys/dev/dm/dm_target_stripe.c:1.32 src/sys/dev/dm/dm_target_stripe.c:1.33
--- src/sys/dev/dm/dm_target_stripe.c:1.32 Sun Dec 8 10:50:21 2019
+++ src/sys/dev/dm/dm_target_stripe.c Mon Dec 9 15:30:42 2019
@@ -1,4 +1,4 @@
-/*$NetBSD: dm_target_stripe.c,v 1.32 2019/12/08 10:50:21 tkusumi Exp $*/
+/*$NetBSD: dm_target_stripe.c,v 1.33 2019/12/09 15:30:42 tkusumi Exp $*/
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_target_stripe.c,v 1.32 2019/12/08 10:50:21 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_target_stripe.c,v 1.33 2019/12/09 15:30:42 tkusumi Exp $");
/*
* This file implements initial version of device-mapper stripe target.
@@ -73,11 +73,11 @@ dm_target_stripe_modcmd(modcmd_t cmd, vo
switch (cmd) {
case MODULE_CMD_INIT:
- if ((dmt = dm_target_lookup("stripe")) != NULL) {
+ if ((dmt = dm_target_lookup("striped")) != NULL) {
dm_target_unbusy(dmt);
return EEXIST;
}
- dmt = dm_target_alloc("stripe");
+ dmt = dm_target_alloc("striped");
dmt->version[0] = 1;
dmt->version[1] = 0;
@@ -96,7 +96,7 @@ dm_target_stripe_modcmd(modcmd_t cmd, vo
break;
case MODULE_CMD_FINI:
- r = dm_target_rem("stripe");
+ r = dm_target_rem("striped");
break;
case MODULE_CMD_STAT: