diff options
| author | tkusumi <tkusumi@NetBSD.org> | 2020-01-21 16:27:53 +0000 |
|---|---|---|
| committer | tkusumi <tkusumi@NetBSD.org> | 2020-01-21 16:27:53 +0000 |
| commit | 096b14febb05d34564c308e571683e5a5a225b94 (patch) | |
| tree | b0c6900cf7e936263cbc6de3f822164bd3a911a1 /sys/dev/dm/dm_target_linear.c | |
| parent | d1cd8389e2ab0f8900cea78015a3b2270dc3c9e5 (diff) | |
dm: #if0 target's ->upcall() handler
This is part of NetBSD's dm design, but unimplemented
(all handlers return 0) and also unused.
Diffstat (limited to 'sys/dev/dm/dm_target_linear.c')
| -rw-r--r-- | sys/dev/dm/dm_target_linear.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/dm/dm_target_linear.c b/sys/dev/dm/dm_target_linear.c index a277b60fb94..c06801e17de 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.36 2019/12/28 15:38:16 tkusumi Exp $ */ +/* $NetBSD: dm_target_linear.c,v 1.37 2020/01/21 16:27:53 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.36 2019/12/28 15:38:16 tkusumi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dm_target_linear.c,v 1.37 2020/01/21 16:27:53 tkusumi Exp $"); /* * This file implements initial version of device-mapper linear target. @@ -163,6 +163,7 @@ out: return 0; } +#if 0 /* * Register upcall device. * Linear target doesn't need any upcall devices but other targets like @@ -174,6 +175,7 @@ dm_target_linear_upcall(dm_table_entry_t *table_en, struct buf *bp) return 0; } +#endif /* * Query physical block size of this target |
