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: Silence aprint_normal() in dm_target_linear_s...



details:   https://anonhg.NetBSD.org/src/rev/090dbe267c86
branches:  trunk
changeset: 466043:090dbe267c86
user:      tkusumi <tkusumi%NetBSD.org@localhost>
date:      Mon Dec 09 16:06:19 2019 +0000

description:
dm: Silence aprint_normal() in dm_target_linear_status()

dm_target_linear_status() shouldn't print this debug message by default
on dmsetup "table" ioctl/command.

diffstat:

 sys/dev/dm/dm_target_linear.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r b1717d3fbd83 -r 090dbe267c86 sys/dev/dm/dm_target_linear.c
--- a/sys/dev/dm/dm_target_linear.c     Mon Dec 09 15:54:59 2019 +0000
+++ b/sys/dev/dm/dm_target_linear.c     Mon Dec 09 16:06:19 2019 +0000
@@ -1,4 +1,4 @@
-/*        $NetBSD: dm_target_linear.c,v 1.25 2019/12/08 04:41:02 tkusumi Exp $      */
+/*        $NetBSD: dm_target_linear.c,v 1.26 2019/12/09 16:06:19 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_target_linear.c,v 1.25 2019/12/08 04:41:02 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_target_linear.c,v 1.26 2019/12/09 16:06:19 tkusumi Exp $");
 
 /*
  * This file implements initial version of device-mapper dklinear target.
@@ -106,7 +106,6 @@
        aprint_debug("Linear target status function called\n");
 
        params = kmem_alloc(DM_MAX_PARAMS_SIZE, KM_SLEEP);
-       aprint_normal("%s %" PRIu64, tlc->pdev->name, tlc->offset);
        snprintf(params, DM_MAX_PARAMS_SIZE, "%s %" PRIu64,
            tlc->pdev->name, tlc->offset);
 



Home | Main Index | Thread Index | Old Index