From: Oleg Nesterov Date: Wed, 26 May 2010 21:43:01 +0000 (-0700) Subject: umh: creds: kill subprocess_info->cred logic X-Git-Tag: v2.6.35-rc1~180 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c70a626d3eba373514c72287c93588b6974a0059;p=pandora-kernel.git umh: creds: kill subprocess_info->cred logic Now that nobody ever changes subprocess_info->cred we can kill this member and related code. ____call_usermodehelper() always runs in the context of freshly forked kernel thread, it has the proper ->cred copied from its parent kthread, keventd. Signed-off-by: Oleg Nesterov Acked-by: Neil Horman Acked-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed