2014-04-23 16:05:44

by Fabian Frédérick

[permalink] [raw]
Subject: [PATCH 1/1] fs/ext4/super.c: add __exit to ext4_destroy_lazyinit_thread

ext4_destroy_lazyinit_thread is only called by __exit ext4_exit_fs

Cc: "Theodore Ts'o" <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
---
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