aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/summary.c
diff options
context:
space:
mode:
authorKaiGai Kohei <kaigai@ak.jp.nec.com>2006-05-13 02:15:07 -0400
committerKaiGai Kohei <kaigai@ak.jp.nec.com>2006-05-13 02:15:07 -0400
commit8f2b6f49c656dd4597904f8c20661d6b73cdbbeb (patch)
tree7452e7d2fb9070181a943c104c409cac79abc991 /fs/jffs2/summary.c
parent8b0b339d46ca0105a9936e3caa3bac80b72de7a3 (diff)
[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>
Diffstat (limited to 'fs/jffs2/summary.c')
-rw-r--r--fs/jffs2/summary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/jffs2/summary.c b/fs/jffs2/summary.c
index 5d9ec8e36528..831a42c13059 100644
--- a/fs/jffs2/summary.c
+++ b/fs/jffs2/summary.c
@@ -556,7 +556,8 @@ static int jffs2_sum_process_sum_data(struct jffs2_sb_info *c, struct jffs2_eras
556 ref->ino = 0xfffffffe; 556 ref->ino = 0xfffffffe;
557 ref->xid = 0xfffffffd; 557 ref->xid = 0xfffffffd;
558 ref->node = raw; 558 ref->node = raw;
559 list_add_tail(&ref->ilist, &c->xattr_temp); 559 ref->next = c->xref_temp;
560 c->xref_temp = ref;
560 561
561 raw->__totlen = PAD(sizeof(struct jffs2_raw_xref)); 562 raw->__totlen = PAD(sizeof(struct jffs2_raw_xref));
562 raw->flash_offset = ofs | REF_UNCHECKED; 563 raw->flash_offset = ofs | REF_UNCHECKED;