From: Oleg Nesterov Date: Wed, 26 May 2010 21:43:07 +0000 (-0700) Subject: coredump: factor out put_cred() calls X-Git-Tag: v2.6.35-rc1~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e43aef530ba39206f7923295388f7ec3c5a7d93;p=pandora-kernel.git coredump: factor out put_cred() calls Given that do_coredump() calls put_cred() on exit path, it is a bit ugly to do put_cred() + "goto fail" twice, just add the new "fail_creds" label. Signed-off-by: Oleg Nesterov Cc: David Howells Cc: Neil Horman Cc: Roland McGrath Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed