diff options
| author | tkusumi <tkusumi@NetBSD.org> | 2019-12-14 10:02:35 +0000 |
|---|---|---|
| committer | tkusumi <tkusumi@NetBSD.org> | 2019-12-14 10:02:35 +0000 |
| commit | 6caba6c835bdbeb571dc27d847480163dad4b059 (patch) | |
| tree | 9475c1b8ac41d6fd91041e4f02bf307275ceb3fe /sys/dev/dm/dm_target_linear.c | |
| parent | e1db0bf8efb27511e51d6b6997505a4ccebdb923 (diff) | |
dm: Remove unconditional debug prints in targets' ->strategy()
Having debug prints in ->strategy() by default just to tell ->strategy()
is called is overkill.
taken-from: DragonFlyBSD
Diffstat (limited to 'sys/dev/dm/dm_target_linear.c')
| -rw-r--r-- | sys/dev/dm/dm_target_linear.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/dm/dm_target_linear.c b/sys/dev/dm/dm_target_linear.c index ce0beca8209..235c9cee5c4 100644 --- a/sys/dev/dm/dm_target_linear.c +++ b/sys/dev/dm/dm_target_linear.c @@ -1,4 +1,4 @@ -/* $NetBSD: dm_target_linear.c,v 1.27 2019/12/12 16:28:24 tkusumi Exp $ */ +/* $NetBSD: dm_target_linear.c,v 1.28 2019/12/14 10:02:35 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.27 2019/12/12 16:28:24 tkusumi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dm_target_linear.c,v 1.28 2019/12/14 10:02:35 tkusumi Exp $"); /* * This file implements initial version of device-mapper dklinear target. @@ -114,15 +114,11 @@ dm_target_linear_strategy(dm_table_entry_t *table_en, struct buf *bp) tlc = table_en->target_config; -/* printf("Linear target read function called %" PRIu64 "!!\n", - tlc->offset);*/ - bp->b_blkno += tlc->offset; VOP_STRATEGY(tlc->pdev->pdev_vnode, bp); return 0; - } /* |
