mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
dm: adjust EXPORT_SYMBOL() to follow functions immediately
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
This commit is contained in:
parent
2e84fecf19
commit
aa07f9d806
@ -45,5 +45,4 @@ void dm_kobject_release(struct kobject *kobj)
|
||||
{
|
||||
complete(dm_get_completion_from_kobject(kobj));
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(dm_kobject_release);
|
||||
|
@ -115,6 +115,7 @@ int dm_register_path_selector(struct path_selector_type *pst)
|
||||
|
||||
return r;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dm_register_path_selector);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(dm_register_path_selector);
|
||||
EXPORT_SYMBOL_GPL(dm_unregister_path_selector);
|
||||
|
@ -93,6 +93,7 @@ int dm_register_target(struct target_type *tt)
|
||||
up_write(&_lock);
|
||||
return rv;
|
||||
}
|
||||
EXPORT_SYMBOL(dm_register_target);
|
||||
|
||||
void dm_unregister_target(struct target_type *tt)
|
||||
{
|
||||
@ -106,6 +107,7 @@ void dm_unregister_target(struct target_type *tt)
|
||||
|
||||
up_write(&_lock);
|
||||
}
|
||||
EXPORT_SYMBOL(dm_unregister_target);
|
||||
|
||||
/*
|
||||
* io-err: always fails an io, useful for bringing
|
||||
@ -171,6 +173,3 @@ void dm_target_exit(void)
|
||||
{
|
||||
dm_unregister_target(&error_target);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(dm_register_target);
|
||||
EXPORT_SYMBOL(dm_unregister_target);
|
||||
|
@ -496,7 +496,6 @@ out:
|
||||
exit_ro_spine(&spine);
|
||||
return r;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(dm_btree_lookup_next);
|
||||
|
||||
/*----------------------------------------------------------------*/
|
||||
|
Loading…
Reference in New Issue
Block a user