commit | bf24fb016c861b7f52be0c36c4cedd3e89afa2e2 | [log] [tgz] |
---|---|---|
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | Thu Feb 11 09:41:58 2010 +0900 |
committer | James Morris <jmorris@namei.org> | Mon Feb 15 09:00:16 2010 +1100 |
tree | f485ca2e70d8305d9aaecf45b5fd929b68b971b2 | |
parent | ca0b7df3374c5566468c17f26fa2dfd3fe3c6a37 [diff] |
TOMOYO: Add refcounter on string data. Add refcounter to "struct tomoyo_name_entry" and replace tomoyo_save_name() with tomoyo_get_name()/tomoyo_put_name() pair so that we can kfree() when garbage collector is added. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>