diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-01-25 21:08:26 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-25 21:08:26 +0100 |
commit | 8eb703e4f33488bf75829564d51d427e17f7cd4c (patch) | |
tree | ee520bf5f1b6c5b61f3b2b6b950ecb4108fc22fc /mm/oom_kill.c | |
parent | dc938520d2bf343b239795cfa24e4f44649358dc (diff) | |
download | lwn-8eb703e4f33488bf75829564d51d427e17f7cd4c.tar.gz lwn-8eb703e4f33488bf75829564d51d427e17f7cd4c.zip |
uids: merge multiple error paths in alloc_uid() into one
There are already 4 error paths in alloc_uid() that do incremental rollbacks.
I think it's time to merge them. This costs us 8 lines of code :)
Maybe it would be better to merge this patch with the previous one, but I
remember that some time ago I sent a similar patch (fixing the error path and
cleaning it), but I was told to make two patches in such cases.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions