summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-01-25 21:08:26 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-25 21:08:26 +0100
commit8eb703e4f33488bf75829564d51d427e17f7cd4c (patch)
treeee520bf5f1b6c5b61f3b2b6b950ecb4108fc22fc /include/linux/sched.h
parentdc938520d2bf343b239795cfa24e4f44649358dc (diff)
downloadblackbird-op-linux-8eb703e4f33488bf75829564d51d427e17f7cd4c.tar.gz
blackbird-op-linux-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 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud