summaryrefslogtreecommitdiff
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-10-01 06:29:26 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 07:39:33 (GMT)
commitd6cbd281d189977b38eac7eb2a4678de19b6b483 (patch)
treef853d303687275cd4328bfac53780b7c7c2c67ef /kernel/kmod.c
parent65da4d81f48e092f71feaf04bf2ccd096b5a5171 (diff)
downloadlinux-fsl-qoriq-d6cbd281d189977b38eac7eb2a4678de19b6b483.tar.xz
[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/kmod.c')
0 files changed, 0 insertions, 0 deletions