diff options
author | Andi Kleen <ak@suse.de> | 2006-10-01 08:29:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 09:39:33 +0200 |
commit | d6cbd281d189977b38eac7eb2a4678de19b6b483 (patch) | |
tree | f853d303687275cd4328bfac53780b7c7c2c67ef /kernel | |
parent | [PATCH] ioremap balanced with iounmap for drivers/serial/sunsu.c (diff) | |
download | linux-d6cbd281d189977b38eac7eb2a4678de19b6b483.tar.xz linux-d6cbd281d189977b38eac7eb2a4678de19b6b483.zip |
[PATCH] Some cleanup in the pipe code
Split the big and hard to read do_pipe function into smaller pieces.
This creates new create_write_pipe/free_write_pipe/create_read_pipe
functions. These functions are made global so that they can be used by
other parts of the kernel.
The resulting code is more generic and easier to read and has cleaner error
handling and less gotos.
[akpm@osdl.org: cleanup]
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions