tomoyo: remove tomoyo_gc_thread()->daemonize()
authorOleg Nesterov <oleg@redhat.com>
Tue, 16 Aug 2011 18:34:05 +0000 (20:34 +0200)
committerJames Morris <jmorris@namei.org>
Tue, 16 Aug 2011 23:48:41 +0000 (09:48 +1000)
commit09f464bf0961aba3cd917d4939597bafb269fb95
treeffdbb860514012bc2c8fef75cff3aa77c94fb9fc
parent1e39f384bb01b0395b69cb70c2cacae65012f203
tomoyo: remove tomoyo_gc_thread()->daemonize()

daemonize() is only needed when a user-space task does kernel_thread().

tomoyo_gc_thread() is kthread_create()'ed and thus it doesn't need
the soon-to-be-deprecated daemonize().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/gc.c