diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-24 03:04:45 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-24 03:04:45 +0200 |
commit | 2f785402f39b96a077b6e62bf26164bfb8e0c980 (patch) | |
tree | 3f3a38b484ef2dabda1599d4d8f08b121bd03a76 /fs/jffs2/xattr.h | |
parent | Merge branch 'master' of /home/tglx/work/kernel/git/mtd-2.6/ (diff) | |
download | linux-2f785402f39b96a077b6e62bf26164bfb8e0c980.tar.xz linux-2f785402f39b96a077b6e62bf26164bfb8e0c980.zip |
[JFFS2] Reduce visibility of raw_node_ref to upper layers of JFFS2 code.
As the first step towards eliminating the ref->next_phys member and saving
memory by using an _array_ of struct jffs2_raw_node_ref per eraseblock,
stop the write functions from allocating their own refs; have them just
_reserve_ the appropriate number instead. Then jffs2_link_node_ref() can
just fill them in.
Use a linked list of pre-allocated refs in the superblock, for now. Once
we switch to an array, it'll just be a case of extending that array.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/xattr.h')
0 files changed, 0 insertions, 0 deletions