diff options
author | Oleg Nesterov <oleg@redhat.com> | 2010-05-26 14:43:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 09:12:45 -0700 |
commit | 5e43aef530ba39206f7923295388f7ec3c5a7d93 (patch) | |
tree | b29b706cff64eb47cc881a793566e38a511843f1 /fs/hfs | |
parent | d5bf4c4f5f9dcc90b7e25dbb2f7c4436cf6e7ed0 (diff) | |
download | op-kernel-dev-5e43aef530ba39206f7923295388f7ec3c5a7d93.zip op-kernel-dev-5e43aef530ba39206f7923295388f7ec3c5a7d93.tar.gz |
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/hfs')
0 files changed, 0 insertions, 0 deletions