From: KaiGai Kohei Date: Sun, 2 Jul 2006 14:13:46 +0000 (+0100) Subject: [JFFS2][XATTR] Fix memory leak in POSIX-ACL support X-Git-Tag: v2.6.18-rc1~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7afb0f97700e73109564f83c35bfeeb14cb653b;p=pandora-kernel.git [JFFS2][XATTR] Fix memory leak in POSIX-ACL support jffs2_clear_acl() which releases acl caches allocated by kmalloc() was defined but it was never called. Thus, we faced to the risk of memory leaking. This patch plugs jffs2_clear_acl() into jffs2_do_clear_inode(). It ensures to release acl cache when inode is cleared. Signed-off-by: KaiGai Kohei Signed-off-by: David Woodhouse --- Reading git-diff-tree failed