[JFFS2][XATTR] Fix memory leak with jffs2_xattr_ref
authorKaiGai Kohei <kaigai@ak.jp.nec.com>
Sat, 24 Jun 2006 00:15:36 +0000 (09:15 +0900)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 27 Jun 2006 15:18:30 +0000 (16:18 +0100)
commit355ed4e141203fd7266ef9d90d57be0c61bd1aa4
tree24abb6d9ee1ae95e41d7db13f90200adf734eb4e
parent8a13695cbe4e8311b363f9bd25162904b984ca74
[JFFS2][XATTR] Fix memory leak with jffs2_xattr_ref

If xattr_ref is associated with an orphan inode_cache
on filesystem mounting, those xattr_refs are not
released even if this inode_cache is released.

This patch enables to call jffs2_xattr_delete_inode()
for such a irregular inode_cachde too.

Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/fs.c
fs/jffs2/gc.c
fs/jffs2/nodelist.c
fs/jffs2/readinode.c