summaryrefslogtreecommitdiff
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)
downloadlinux-3.10-e1290b3e62c496ade19939ce036f35bb69306820.tar.gz
linux-3.10-e1290b3e62c496ade19939ce036f35bb69306820.tar.bz2
linux-3.10-e1290b3e62c496ade19939ce036f35bb69306820.zip
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 579dfeda614..6ce3c7c8574 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,
*/
struct ext4_lazy_init {
unsigned long li_state;
- wait_queue_head_t li_wait_task;
- struct task_struct *li_task;
struct list_head li_request_list;
struct mutex li_list_mtx;
};