Re: unused fs/jffs2/acl.c:jffs2_clear_acl()

From: KaiGai Kohei
Date: Thu Jun 29 2006 - 10:28:23 EST


David Woodhouse wrote:
> On Thu, 2006-06-29 at 15:01 +0200, Adrian Bunk wrote:
>
>>it might not have been intended that jffs2_clear_acl() in Linus' tree
>>is unused?
>
>
> I suspect you're right -- thanks for pointing it out.
>
> Kaigai-san?

I'm sorry, it's a serious BUG.
When an inode is cleared, jffs2_clear_acl() should be called
to release on-memory ACL. Because the current implementation
didn't care about this cleaning-up, we have memory-leaking.

Please wait a patch for a while.

Thanks,
--
KaiGai Kohei <kaigai@xxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/