[JFFS2][XATTR] Remove 'struct list_head ilist' from jffs2_inode_cache.

This patch can reduce 4-byte of memory usage per inode_cache.

[4/10] jffs2-xattr-v5.1-04-remove_ilist_from_ic.patch

Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
This commit is contained in:
KaiGai Kohei
2006-05-13 15:15:07 +09:00
parent 8b0b339d46
commit 8f2b6f49c6
9 changed files with 55 additions and 43 deletions

View File

@ -556,7 +556,8 @@ static int jffs2_sum_process_sum_data(struct jffs2_sb_info *c, struct jffs2_eras
ref->ino = 0xfffffffe;
ref->xid = 0xfffffffd;
ref->node = raw;
list_add_tail(&ref->ilist, &c->xattr_temp);
ref->next = c->xref_temp;
c->xref_temp = ref;
raw->__totlen = PAD(sizeof(struct jffs2_raw_xref));
raw->flash_offset = ofs | REF_UNCHECKED;