Commit 5e198d94 authored by Alasdair G Kergon's avatar Alasdair G Kergon Committed by Linus Torvalds

[PATCH] device-mapper: Some missing statics

This patch makes some needlessly global code static.
Signed-Off-By: default avatarAlasdair G Kergon <agk@redhat.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f1daa40b
...@@ -23,7 +23,7 @@ struct hwh_internal { ...@@ -23,7 +23,7 @@ struct hwh_internal {
static LIST_HEAD(_hw_handlers); static LIST_HEAD(_hw_handlers);
static DECLARE_RWSEM(_hwh_lock); static DECLARE_RWSEM(_hwh_lock);
struct hwh_internal *__find_hw_handler_type(const char *name) static struct hwh_internal *__find_hw_handler_type(const char *name)
{ {
struct hwh_internal *hwhi; struct hwh_internal *hwhi;
......
...@@ -26,7 +26,7 @@ struct ps_internal { ...@@ -26,7 +26,7 @@ struct ps_internal {
static LIST_HEAD(_path_selectors); static LIST_HEAD(_path_selectors);
static DECLARE_RWSEM(_ps_lock); static DECLARE_RWSEM(_ps_lock);
struct ps_internal *__find_path_selector_type(const char *name) static struct ps_internal *__find_path_selector_type(const char *name)
{ {
struct ps_internal *psi; struct ps_internal *psi;
......
...@@ -242,7 +242,7 @@ static void free_devices(struct list_head *devices) ...@@ -242,7 +242,7 @@ static void free_devices(struct list_head *devices)
} }
} }
void table_destroy(struct dm_table *t) static void table_destroy(struct dm_table *t)
{ {
unsigned int i; unsigned int i;
......
...@@ -55,7 +55,7 @@ static struct target_type zero_target = { ...@@ -55,7 +55,7 @@ static struct target_type zero_target = {
.map = zero_map, .map = zero_map,
}; };
int __init dm_zero_init(void) static int __init dm_zero_init(void)
{ {
int r = dm_register_target(&zero_target); int r = dm_register_target(&zero_target);
...@@ -65,7 +65,7 @@ int __init dm_zero_init(void) ...@@ -65,7 +65,7 @@ int __init dm_zero_init(void)
return r; return r;
} }
void __exit dm_zero_exit(void) static void __exit dm_zero_exit(void)
{ {
int r = dm_unregister_target(&zero_target); int r = dm_unregister_target(&zero_target);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment