diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-20 22:46:05 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-20 22:46:05 -0400 |
commit | 68270995f29f1a82b3eaab01df63ea7e721e2fa6 (patch) | |
tree | 44388152f209c9f8f0df8eec33efaaca7817ec6d /fs/jffs2/nodelist.h | |
parent | 7807ef7ba2a41c05f6197381f572dd38baa6c1ce (diff) |
[JFFS2] Introduce jffs2_scan_dirty_space() function.
To eliminate the __totlen field from struct jffs2_raw_node_ref, we need
to allocate nodes for dirty space instead of just tweaking the accounting
data. Introduce jffs2_scan_dirty_space() in preparation for that.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/nodelist.h')
-rw-r--r-- | fs/jffs2/nodelist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jffs2/nodelist.h b/fs/jffs2/nodelist.h index 194cff7c4853..ca15b3c731cf 100644 --- a/fs/jffs2/nodelist.h +++ b/fs/jffs2/nodelist.h | |||
@@ -430,6 +430,7 @@ int jffs2_fill_scan_buf(struct jffs2_sb_info *c, void *buf, | |||
430 | uint32_t ofs, uint32_t len); | 430 | uint32_t ofs, uint32_t len); |
431 | struct jffs2_inode_cache *jffs2_scan_make_ino_cache(struct jffs2_sb_info *c, uint32_t ino); | 431 | struct jffs2_inode_cache *jffs2_scan_make_ino_cache(struct jffs2_sb_info *c, uint32_t ino); |
432 | int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); | 432 | int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); |
433 | int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t size); | ||
433 | 434 | ||
434 | /* build.c */ | 435 | /* build.c */ |
435 | int jffs2_do_mount_fs(struct jffs2_sb_info *c); | 436 | int jffs2_do_mount_fs(struct jffs2_sb_info *c); |