diff options
author | KaiGai Kohei <kaigai@ak.jp.nec.com> | 2006-05-13 02:15:07 -0400 |
---|---|---|
committer | KaiGai Kohei <kaigai@ak.jp.nec.com> | 2006-05-13 02:15:07 -0400 |
commit | 8f2b6f49c656dd4597904f8c20661d6b73cdbbeb (patch) | |
tree | 7452e7d2fb9070181a943c104c409cac79abc991 /fs/jffs2/malloc.c | |
parent | 8b0b339d46ca0105a9936e3caa3bac80b72de7a3 (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/malloc.c')
-rw-r--r-- | fs/jffs2/malloc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/jffs2/malloc.c b/fs/jffs2/malloc.c index 3d5b7ecfbf8d..f2473fa2fd16 100644 --- a/fs/jffs2/malloc.c +++ b/fs/jffs2/malloc.c | |||
@@ -259,7 +259,6 @@ struct jffs2_xattr_ref *jffs2_alloc_xattr_ref(void) | |||
259 | 259 | ||
260 | memset(ref, 0, sizeof(struct jffs2_xattr_ref)); | 260 | memset(ref, 0, sizeof(struct jffs2_xattr_ref)); |
261 | ref->class = RAWNODE_CLASS_XATTR_REF; | 261 | ref->class = RAWNODE_CLASS_XATTR_REF; |
262 | INIT_LIST_HEAD(&ref->ilist); | ||
263 | return ref; | 262 | return ref; |
264 | } | 263 | } |
265 | 264 | ||