Oleg Nesterov 5e43aef530 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 <oleg@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-05-27 09:12:45 -07:00
..
2010-05-27 09:12:41 -07:00
2010-04-30 14:52:51 -05:00
2010-05-25 08:07:04 -07:00
2010-05-21 18:31:20 -04:00
2010-05-17 05:27:42 +02:00
2010-05-25 08:07:03 -07:00
2010-05-21 18:31:16 -04:00
2010-01-26 22:22:26 -05:00
2010-05-25 08:07:07 -07:00
2009-12-16 07:20:13 -08:00
2010-03-06 11:26:29 -08:00
2010-03-19 08:05:10 +01:00
2009-09-24 07:21:03 -07:00
2010-05-21 18:31:16 -04:00
2009-12-17 04:52:13 -05:00
2010-05-21 18:31:16 -04:00
2010-05-11 17:43:58 +02:00
2010-05-27 09:12:45 -07:00
2010-05-21 21:27:26 +02:00
2010-03-06 11:26:29 -08:00
2010-05-21 18:31:16 -04:00
2010-03-08 16:55:37 +01:00
2010-05-21 18:31:17 -04:00
2010-05-21 18:31:22 -04:00
2010-05-18 08:57:00 +10:00
2010-05-21 18:31:17 -04:00
2010-03-12 15:52:32 -08:00
2010-05-21 18:31:17 -04:00