diff options
| author | christos <christos@NetBSD.org> | 2018-01-05 14:22:26 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2018-01-05 14:22:26 +0000 |
| commit | 30f3f9afbb6ee7c71dd6daa26feb529f960b2711 (patch) | |
| tree | 740d6fcd65db70aa3f2fb7a1e199c17c0f404ae0 /sys/dev/dm/dm_target_mirror.c | |
| parent | c4e2c478b3916d5df219d75b5cdc6a3dec1ba0cd (diff) | |
use some size_t, add whitespace between functions, rcsids.
Diffstat (limited to 'sys/dev/dm/dm_target_mirror.c')
| -rw-r--r-- | sys/dev/dm/dm_target_mirror.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/dm/dm_target_mirror.c b/sys/dev/dm/dm_target_mirror.c index 96e9186aacd..8087884faa1 100644 --- a/sys/dev/dm/dm_target_mirror.c +++ b/sys/dev/dm/dm_target_mirror.c @@ -1,4 +1,4 @@ -/*$NetBSD: dm_target_mirror.c,v 1.9 2010/05/18 15:10:38 haad Exp $*/ +/*$NetBSD: dm_target_mirror.c,v 1.10 2018/01/05 14:22:26 christos Exp $*/ /* * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -28,6 +28,8 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__KERNEL_RCSID(0, "$NetBSD: dm_target_mirror.c,v 1.10 2018/01/05 14:22:26 christos Exp $"); /* * This file implements initial version of device-mapper mirror target. @@ -124,12 +126,14 @@ dm_target_mirror_init(dm_dev_t * dmv, void **target_config, char *argv) return ENOSYS; } + /* Status routine called to get params string. */ char * dm_target_mirror_status(void *target_config) { return NULL; } + /* Strategy routine called from dm_strategy. */ int dm_target_mirror_strategy(dm_table_entry_t * table_en, struct buf * bp) @@ -144,6 +148,7 @@ dm_target_mirror_strategy(dm_table_entry_t * table_en, struct buf * bp) return 0; } + /* Sync underlying disk caches. */ int dm_target_mirror_sync(dm_table_entry_t * table_en) @@ -151,6 +156,7 @@ dm_target_mirror_sync(dm_table_entry_t * table_en) return 0; } + /* Doesn't do anything here. */ int dm_target_mirror_destroy(dm_table_entry_t * table_en) @@ -162,12 +168,14 @@ dm_target_mirror_destroy(dm_table_entry_t * table_en) return 0; } + /* Doesn't not need to do anything here. */ int dm_target_mirror_deps(dm_table_entry_t * table_en, prop_array_t prop_array) { return 0; } + /* Unsupported for this target. */ int dm_target_mirror_upcall(dm_table_entry_t * table_en, struct buf * bp) |
