From 23ef6e5dd08de606f940a71b427520d20082fd32 Mon Sep 17 00:00:00 2001 From: tkusumi Date: Sun, 15 Dec 2019 05:56:02 +0000 Subject: dm: Rename targets' ->status() to ->table() given ->info() exists Since now that dm targets in NetBSD have ->info() for "status", ->status() should be renamed to ->table() for "table", given how dm target status was originally designed in Linux kernel. taken-from: DragonFlyBSD --- sys/dev/dm/dm_ioctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/dm/dm_ioctl.c') diff --git a/sys/dev/dm/dm_ioctl.c b/sys/dev/dm/dm_ioctl.c index 41a8a11b9f0..92fbd612312 100644 --- a/sys/dev/dm/dm_ioctl.c +++ b/sys/dev/dm/dm_ioctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: dm_ioctl.c,v 1.44 2019/12/14 17:15:54 tkusumi Exp $ */ +/* $NetBSD: dm_ioctl.c,v 1.45 2019/12/15 05:56:02 tkusumi Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.44 2019/12/14 17:15:54 tkusumi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.45 2019/12/15 05:56:02 tkusumi Exp $"); /* * Locking is used to synchronise between ioctl calls and between dm_table's @@ -943,7 +943,7 @@ dm_table_status_ioctl(prop_dictionary_t dm_dict) prop_dictionary_set_cstring(target_dict, DM_TABLE_PARAMS, ""); if (flags & DM_STATUS_TABLE_FLAG) - params = table_en->target->status( + params = table_en->target->table( table_en->target_config); else if (table_en->target->info) params = table_en->target->info( -- cgit