diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-04-23 14:15:24 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-04-23 14:15:24 +0100 |
commit | e2bc322bf05936ec7160d62bc3fd45cbf4aa405a (patch) | |
tree | ea7beb60c2fe6f35df9e6e51895812a9c254ad89 /fs/jffs2/build.c | |
parent | 697fa9721cbc54ce1604dae09d1be6bb918567f6 (diff) | |
download | linux-stable-e2bc322bf05936ec7160d62bc3fd45cbf4aa405a.tar.gz linux-stable-e2bc322bf05936ec7160d62bc3fd45cbf4aa405a.tar.bz2 linux-stable-e2bc322bf05936ec7160d62bc3fd45cbf4aa405a.zip |
[JFFS2] Add erase_checking_list to hold blocks being marked.
Just to keep the debug code happy when it's adding all the blocks up.
Otherwise, they disappear for a while while the locks are dropped to
check them and write the cleanmarker.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/build.c')
-rw-r--r-- | fs/jffs2/build.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jffs2/build.c b/fs/jffs2/build.c index 722a6b682951..d58f845ccb85 100644 --- a/fs/jffs2/build.c +++ b/fs/jffs2/build.c @@ -345,6 +345,7 @@ int jffs2_do_mount_fs(struct jffs2_sb_info *c) INIT_LIST_HEAD(&c->dirty_list); INIT_LIST_HEAD(&c->erasable_list); INIT_LIST_HEAD(&c->erasing_list); + INIT_LIST_HEAD(&c->erase_checking_list); INIT_LIST_HEAD(&c->erase_pending_list); INIT_LIST_HEAD(&c->erasable_pending_wbuf_list); INIT_LIST_HEAD(&c->erase_complete_list); |