From 913d0d83878b08ba8a5837f42ae7b182406f6eb1 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Sun, 3 Feb 2002 11:36:37 +0000 Subject: [PATCH] dm_interface_{init,exit} prototypes get marked as __{init,exit} as well --- kernel/common/dm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/common/dm.h b/kernel/common/dm.h index 9840618..11fc7ef 100644 --- a/kernel/common/dm.h +++ b/kernel/common/dm.h @@ -24,6 +24,7 @@ #include #include #include +#include #define DM_NAME "device-mapper" /* Name for messaging */ #define MAX_DEPTH 16 @@ -194,8 +195,8 @@ static inline offset_t *get_node(struct dm_table *t, int l, int n) * ioctl or filesystem, depending which patch you have applied. */ -int dm_interface_init(void); -void dm_interface_exit(void); +int __init dm_interface_init(void); +void __exit dm_interface_exit(void); /* Code in dm-snapshot called by dm-origin to do snapshot COW */ int dm_do_snapshot(struct dm_dev *origin, struct buffer_head *bh); -- 2.43.5