Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/dm dm: Correct target name "stripe" -> "striped"
details: https://anonhg.NetBSD.org/src/rev/32ec3fd398f7
branches: trunk
changeset: 847085:32ec3fd398f7
user: tkusumi <tkusumi%NetBSD.org@localhost>
date: Mon Dec 09 15:30:42 2019 +0000
description:
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.
diffstat:
sys/dev/dm/dm_target_stripe.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r 375ae1e0562c -r 32ec3fd398f7 sys/dev/dm/dm_target_stripe.c
--- a/sys/dev/dm/dm_target_stripe.c Mon Dec 09 14:56:44 2019 +0000
+++ b/sys/dev/dm/dm_target_stripe.c Mon Dec 09 15:30:42 2019 +0000
@@ -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 @@
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 @@
break;
case MODULE_CMD_FINI:
- r = dm_target_rem("stripe");
+ r = dm_target_rem("striped");
break;
case MODULE_CMD_STAT:
Home |
Main Index |
Thread Index |
Old Index