summaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>2006-10-31 07:07:12 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-31 17:07:00 +0100
commitd8d7c28ec0b50ac57ddc909ae6eca1519473f300 (patch)
treedd5c142fb98ed51c521a46fc95a04ee8cf7b7fe1 /arch/um/include
parent[PATCH] uml ubd driver: do not store error codes as ->fd (diff)
downloadlinux-d8d7c28ec0b50ac57ddc909ae6eca1519473f300.tar.xz
linux-d8d7c28ec0b50ac57ddc909ae6eca1519473f300.zip
[PATCH] uml ubd driver: various little changes
Fix a small memory leak in ubd_config, and clearify the confusion which lead to it. Then, some little changes not affecting operations - * move init functions together, * add a comment about a potential problem in case of some evolution in the block layer, * mark all initcalls as static __init functions * mark an used once little function as inline * document that mconsole methods are all called in process context (was triggered when checking ubd mconsole methods). Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/include')
-rw-r--r--arch/um/include/mconsole_kern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/include/mconsole_kern.h b/arch/um/include/mconsole_kern.h
index d0b690197fd7..1ea6d928e1cd 100644
--- a/arch/um/include/mconsole_kern.h
+++ b/arch/um/include/mconsole_kern.h
@@ -14,6 +14,7 @@ struct mconsole_entry {
struct mc_request request;
};
+/* All these methods are called in process context. */
struct mc_device {
struct list_head list;
char *name;