diff options
Diffstat (limited to 'fs/jffs2/build.c')
-rw-r--r-- | fs/jffs2/build.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/fs/jffs2/build.c b/fs/jffs2/build.c index 3dd5394921c9..97dc39796e2c 100644 --- a/fs/jffs2/build.c +++ b/fs/jffs2/build.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * | 7 | * |
8 | * For licensing information, see the file 'LICENCE' in this directory. | 8 | * For licensing information, see the file 'LICENCE' in this directory. |
9 | * | 9 | * |
10 | * $Id: build.c,v 1.70 2005/02/28 08:21:05 dedekind Exp $ | 10 | * $Id: build.c,v 1.71 2005/07/12 16:37:08 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
@@ -336,13 +336,6 @@ int jffs2_do_mount_fs(struct jffs2_sb_info *c) | |||
336 | c->blocks[i].bad_count = 0; | 336 | c->blocks[i].bad_count = 0; |
337 | } | 337 | } |
338 | 338 | ||
339 | init_MUTEX(&c->alloc_sem); | ||
340 | init_MUTEX(&c->erase_free_sem); | ||
341 | init_waitqueue_head(&c->erase_wait); | ||
342 | init_waitqueue_head(&c->inocache_wq); | ||
343 | spin_lock_init(&c->erase_completion_lock); | ||
344 | spin_lock_init(&c->inocache_lock); | ||
345 | |||
346 | INIT_LIST_HEAD(&c->clean_list); | 339 | INIT_LIST_HEAD(&c->clean_list); |
347 | INIT_LIST_HEAD(&c->very_dirty_list); | 340 | INIT_LIST_HEAD(&c->very_dirty_list); |
348 | INIT_LIST_HEAD(&c->dirty_list); | 341 | INIT_LIST_HEAD(&c->dirty_list); |