Commit bf24fb01 authored by Committed by James Morris
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 <email@example.com> Signed-off-by: James Morris <firstname.lastname@example.org>
Showing with 77 additions and 40 deletions