[PATCH 1/1] fs/ext4/super.c: add __exit to ext4_destroy_lazyinit_thread
From: Fabian Frederick
Date: Wed Apr 23 2014 - 12:05:51 EST
ext4_destroy_lazyinit_thread is only called by __exit ext4_exit_fs
Cc: "Theodore Ts'o" <tytso@xxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
fs/ext4/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index f3c6670..a2b097a 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -80,7 +80,7 @@ static struct dentry *ext4_mount(struct file_system_type *fs_type, int flags,
static inline int ext2_feature_set_ok(struct super_block *sb);
static inline int ext3_feature_set_ok(struct super_block *sb);
static int ext4_feature_set_ok(struct super_block *sb, int readonly);
-static void ext4_destroy_lazyinit_thread(void);
+static void __exit ext4_destroy_lazyinit_thread(void);
static void ext4_unregister_li_request(struct super_block *sb);
static void ext4_clear_request_list(void);
static int ext4_reserve_clusters(struct ext4_sb_info *, ext4_fsblk_t);
@@ -3155,7 +3155,7 @@ out:
* We do not need to lock anything since this is called on
* module unload.
*/
-static void ext4_destroy_lazyinit_thread(void)
+static void __exit ext4_destroy_lazyinit_thread(void)
{
/*
* If thread exited earlier
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/