]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
dm log: make dm_dirty_log init and exit static
authorAdrian Bunk <bunk@kernel.org>
Mon, 21 Jul 2008 11:00:27 +0000 (12:00 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 21 Jul 2008 11:00:27 +0000 (12:00 +0100)
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>
drivers/md/dm-log.c
drivers/md/dm.h

index 67a6f31b7fc3e2d39a3dfbf6813d6b163eae6707..5b48478c79f53037474579edf1930b4d103b160c 100644 (file)
@@ -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);
index 8c03b634e62e4a8106980750fb9d948b2fb9327f..1e59a0b0a78a0428a3c515280908062272e094d5 100644 (file)
@@ -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);