diff options
| author | Oleg Nesterov <[email protected]> | 2010-05-26 21:43:07 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-05-27 16:12:45 +0000 |
| commit | 5e43aef530ba39206f7923295388f7ec3c5a7d93 (patch) | |
| tree | b29b706cff64eb47cc881a793566e38a511843f1 /fs/proc/array.c | |
| parent | coredump: cleanup "ispipe" code (diff) | |
| download | kernel-5e43aef530ba39206f7923295388f7ec3c5a7d93.tar.gz kernel-5e43aef530ba39206f7923295388f7ec3c5a7d93.zip | |
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]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
