aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device-mapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r--include/linux/device-mapper.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index c17fd334e574..89ff2df40240 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -157,8 +157,7 @@ struct dm_target {
157}; 157};
158 158
159int dm_register_target(struct target_type *t); 159int dm_register_target(struct target_type *t);
160int dm_unregister_target(struct target_type *t); 160void dm_unregister_target(struct target_type *t);
161
162 161
163/*----------------------------------------------------------------- 162/*-----------------------------------------------------------------
164 * Functions for creating and manipulating mapped devices. 163 * Functions for creating and manipulating mapped devices.
@@ -276,6 +275,9 @@ void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
276 *---------------------------------------------------------------*/ 275 *---------------------------------------------------------------*/
277#define DM_NAME "device-mapper" 276#define DM_NAME "device-mapper"
278 277
278#define DMCRIT(f, arg...) \
279 printk(KERN_CRIT DM_NAME ": " DM_MSG_PREFIX ": " f "\n", ## arg)
280
279#define DMERR(f, arg...) \ 281#define DMERR(f, arg...) \
280 printk(KERN_ERR DM_NAME ": " DM_MSG_PREFIX ": " f "\n", ## arg) 282 printk(KERN_ERR DM_NAME ": " DM_MSG_PREFIX ": " f "\n", ## arg)
281#define DMERR_LIMIT(f, arg...) \ 283#define DMERR_LIMIT(f, arg...) \