dm log: make dm_dirty_log init and exit static

dm_dirty_log_{init,exit}() can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
This commit is contained in:
Adrian Bunk 2008-07-21 12:00:27 +01:00 committed by Alasdair G Kergon
parent 371b2e348b
commit c8da2f8dd8
2 changed files with 2 additions and 8 deletions

View File

@ -831,7 +831,7 @@ static struct dm_dirty_log_type _disk_type = {
.status = disk_status, .status = disk_status,
}; };
int __init dm_dirty_log_init(void) static int __init dm_dirty_log_init(void)
{ {
int r; int r;
@ -848,7 +848,7 @@ int __init dm_dirty_log_init(void)
return r; return r;
} }
void __exit dm_dirty_log_exit(void) static void __exit dm_dirty_log_exit(void)
{ {
dm_dirty_log_type_unregister(&_disk_type); dm_dirty_log_type_unregister(&_disk_type);
dm_dirty_log_type_unregister(&_core_type); dm_dirty_log_type_unregister(&_core_type);

View File

@ -100,12 +100,6 @@ int dm_lock_for_deletion(struct mapped_device *md);
void dm_kobject_uevent(struct mapped_device *md); void dm_kobject_uevent(struct mapped_device *md);
/*
* Dirty log
*/
int dm_dirty_log_init(void);
void dm_dirty_log_exit(void);
int dm_kcopyd_init(void); int dm_kcopyd_init(void);
void dm_kcopyd_exit(void); void dm_kcopyd_exit(void);