diff options
| author | tkusumi <tkusumi@NetBSD.org> | 2019-12-15 05:56:02 +0000 |
|---|---|---|
| committer | tkusumi <tkusumi@NetBSD.org> | 2019-12-15 05:56:02 +0000 |
| commit | 23ef6e5dd08de606f940a71b427520d20082fd32 (patch) | |
| tree | 04510307f6d0dd42d4239532b4bae0a4f0d47507 /sys/dev/dm/dm_ioctl.c | |
| parent | ee241c51f0f2fba701d900b361985399bda33631 (diff) | |
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
Diffstat (limited to 'sys/dev/dm/dm_ioctl.c')
| -rw-r--r-- | sys/dev/dm/dm_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <sys/cdefs.h> -__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( |
