Commit aa07f9d8 authored by Heinz Mauelshagen's avatar Heinz Mauelshagen Committed by Mike Snitzer

dm: adjust EXPORT_SYMBOL() to follow functions immediately

Signed-off-by: default avatarHeinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent 2e84fecf
...@@ -45,5 +45,4 @@ void dm_kobject_release(struct kobject *kobj) ...@@ -45,5 +45,4 @@ void dm_kobject_release(struct kobject *kobj)
{ {
complete(dm_get_completion_from_kobject(kobj)); complete(dm_get_completion_from_kobject(kobj));
} }
EXPORT_SYMBOL(dm_kobject_release); EXPORT_SYMBOL(dm_kobject_release);
...@@ -115,6 +115,7 @@ int dm_register_path_selector(struct path_selector_type *pst) ...@@ -115,6 +115,7 @@ int dm_register_path_selector(struct path_selector_type *pst)
return r; return r;
} }
EXPORT_SYMBOL_GPL(dm_register_path_selector);
int dm_unregister_path_selector(struct path_selector_type *pst) int dm_unregister_path_selector(struct path_selector_type *pst)
{ {
...@@ -136,6 +137,4 @@ int dm_unregister_path_selector(struct path_selector_type *pst) ...@@ -136,6 +137,4 @@ int dm_unregister_path_selector(struct path_selector_type *pst)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(dm_register_path_selector);
EXPORT_SYMBOL_GPL(dm_unregister_path_selector); EXPORT_SYMBOL_GPL(dm_unregister_path_selector);
...@@ -93,6 +93,7 @@ int dm_register_target(struct target_type *tt) ...@@ -93,6 +93,7 @@ int dm_register_target(struct target_type *tt)
up_write(&_lock); up_write(&_lock);
return rv; return rv;
} }
EXPORT_SYMBOL(dm_register_target);
void dm_unregister_target(struct target_type *tt) void dm_unregister_target(struct target_type *tt)
{ {
...@@ -106,6 +107,7 @@ void dm_unregister_target(struct target_type *tt) ...@@ -106,6 +107,7 @@ void dm_unregister_target(struct target_type *tt)
up_write(&_lock); up_write(&_lock);
} }
EXPORT_SYMBOL(dm_unregister_target);
/* /*
* io-err: always fails an io, useful for bringing * io-err: always fails an io, useful for bringing
...@@ -171,6 +173,3 @@ void dm_target_exit(void) ...@@ -171,6 +173,3 @@ void dm_target_exit(void)
{ {
dm_unregister_target(&error_target); dm_unregister_target(&error_target);
} }
EXPORT_SYMBOL(dm_register_target);
EXPORT_SYMBOL(dm_unregister_target);
...@@ -496,7 +496,6 @@ int dm_btree_lookup_next(struct dm_btree_info *info, dm_block_t root, ...@@ -496,7 +496,6 @@ int dm_btree_lookup_next(struct dm_btree_info *info, dm_block_t root,
exit_ro_spine(&spine); exit_ro_spine(&spine);
return r; return r;
} }
EXPORT_SYMBOL_GPL(dm_btree_lookup_next); EXPORT_SYMBOL_GPL(dm_btree_lookup_next);
/*----------------------------------------------------------------*/ /*----------------------------------------------------------------*/
......
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