aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2011-05-20 13:49:51 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-05-20 13:49:51 -0400
commite1290b3e62c496ade19939ce036f35bb69306820 (patch)
treeaaf8fc2fd2b9b7c9c1ce15303bb8debf7ab3d01b /fs/ext4/ext4.h
parent4ed5c033c11b33149d993734a6a8de1016e8f03f (diff)
ext4: Remove unnecessary wait_event ext4_run_lazyinit_thread()
For some reason we have been waiting for lazyinit thread to start in the ext4_run_lazyinit_thread() but it is not needed since it was jus unnecessary complexity, so get rid of it. We can also remove li_task and li_wait_task since it is not used anymore. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 579dfeda614c..6ce3c7c8574c 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1605,8 +1605,6 @@ void ext4_get_group_no_and_offset(struct super_block *sb, ext4_fsblk_t blocknr,
1605 */ 1605 */
1606struct ext4_lazy_init { 1606struct ext4_lazy_init {
1607 unsigned long li_state; 1607 unsigned long li_state;
1608 wait_queue_head_t li_wait_task;
1609 struct task_struct *li_task;
1610 struct list_head li_request_list; 1608 struct list_head li_request_list;
1611 struct mutex li_list_mtx; 1609 struct mutex li_list_mtx;
1612}; 1610};