TOMOYO: Add refcounter on string data.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Thu, 11 Feb 2010 00:41:58 +0000 (09:41 +0900)
committerJames Morris <jmorris@namei.org>
Sun, 14 Feb 2010 22:00:16 +0000 (09:00 +1100)
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>

No differences found