diff options
author | Oleg Nesterov <oleg@redhat.com> | 2010-05-26 17:43:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 12:12:45 -0400 |
commit | 5e43aef530ba39206f7923295388f7ec3c5a7d93 (patch) | |
tree | b29b706cff64eb47cc881a793566e38a511843f1 /fs/binfmt_elf_fdpic.c | |
parent | d5bf4c4f5f9dcc90b7e25dbb2f7c4436cf6e7ed0 (diff) |
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>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions