Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: David Howells <[email protected]> Cc: Neil Horman <[email protected]> Cc: Roland McGrath <[email protected]> Cc: Andi Kleen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information