Sun Dec 11 22:53:26 2011 UTC ()
fixup comments - no functional change


(agc)
diff -r1.11 -r1.12 src/sys/dev/dm/dm_target_zero.c

cvs diff -r1.11 -r1.12 src/sys/dev/dm/dm_target_zero.c (expand / switch to unified diff)

--- src/sys/dev/dm/dm_target_zero.c 2010/05/18 15:10:38 1.11
+++ src/sys/dev/dm/dm_target_zero.c 2011/12/11 22:53:26 1.12
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: dm_target_zero.c,v 1.11 2010/05/18 15:10:38 haad Exp $ */ 1/* $NetBSD: dm_target_zero.c,v 1.12 2011/12/11 22:53:26 agc Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2008 The NetBSD Foundation, Inc. 4 * Copyright (c) 2008 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Adam Hamsik. 8 * by Adam Hamsik.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -146,36 +146,36 @@ dm_target_zero_strategy(dm_table_entry_t @@ -146,36 +146,36 @@ dm_target_zero_strategy(dm_table_entry_t
146 * that there is no other io to done */ 146 * that there is no other io to done */
147 147
148 biodone(bp); 148 biodone(bp);
149 149
150 return 0; 150 return 0;
151} 151}
152/* Sync underlying disk caches. */ 152/* Sync underlying disk caches. */
153int 153int
154dm_target_zero_sync(dm_table_entry_t * table_en) 154dm_target_zero_sync(dm_table_entry_t * table_en)
155{ 155{
156 156
157 return 0; 157 return 0;
158} 158}
159/* Doesn't not need to do anything here. */ 159/* Does not need to do anything here. */
160int 160int
161dm_target_zero_destroy(dm_table_entry_t * table_en) 161dm_target_zero_destroy(dm_table_entry_t * table_en)
162{ 162{
163 table_en->target_config = NULL; 163 table_en->target_config = NULL;
164 164
165 /* Unbusy target so we can unload it */ 165 /* Unbusy target so we can unload it */
166 dm_target_unbusy(table_en->target); 166 dm_target_unbusy(table_en->target);
167 167
168 return 0; 168 return 0;
169} 169}
170/* Doesn't not need to do anything here. */ 170/* Does not need to do anything here. */
171int 171int
172dm_target_zero_deps(dm_table_entry_t * table_en, prop_array_t prop_array) 172dm_target_zero_deps(dm_table_entry_t * table_en, prop_array_t prop_array)
173{ 173{
174 return 0; 174 return 0;
175} 175}
176/* Unsuported for this target. */ 176/* Unsuported for this target. */
177int 177int
178dm_target_zero_upcall(dm_table_entry_t * table_en, struct buf * bp) 178dm_target_zero_upcall(dm_table_entry_t * table_en, struct buf * bp)
179{ 179{
180 return 0; 180 return 0;
181} 181}