[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>
This commit is contained in:
committed by
Linus Torvalds
parent
0bf16bffee
commit
d8d7c28ec0
@@ -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;
|
||||
|
Reference in New Issue
Block a user