diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-21 13:00:27 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-07-21 13:00:27 +0200 |
commit | c8da2f8dd86d70559ec4e50251f6a755b42bd5b4 (patch) | |
tree | 1991d27441d08a727160d75d7b2723b5514b19e1 | |
parent | dm mpath: free path selector on invalid args (diff) | |
download | linux-c8da2f8dd86d70559ec4e50251f6a755b42bd5b4.tar.xz linux-c8da2f8dd86d70559ec4e50251f6a755b42bd5b4.zip |
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>
-rw-r--r-- | drivers/md/dm-log.c | 4 | ||||
-rw-r--r-- | drivers/md/dm.h | 6 |
2 files changed, 2 insertions, 8 deletions
diff --git a/drivers/md/dm-log.c b/drivers/md/dm-log.c index 67a6f31b7fc3..5b48478c79f5 100644 --- a/drivers/md/dm-log.c +++ b/drivers/md/dm-log.c @@ -831,7 +831,7 @@ static struct dm_dirty_log_type _disk_type = { .status = disk_status, }; -int __init dm_dirty_log_init(void) +static int __init dm_dirty_log_init(void) { int r; @@ -848,7 +848,7 @@ int __init dm_dirty_log_init(void) 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(&_core_type); diff --git a/drivers/md/dm.h b/drivers/md/dm.h index 8c03b634e62e..1e59a0b0a78a 100644 --- a/drivers/md/dm.h +++ b/drivers/md/dm.h @@ -100,12 +100,6 @@ int dm_lock_for_deletion(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); void dm_kcopyd_exit(void); |