Paolo 'Blaisorblade' Giarrusso d7fb2c3865 [PATCH] uml ubd driver: change ubd_lock to be a mutex
This lock protects ubd setup and teardown, so is only used in process context;
beyond that, during such setup memory allocations must be performed and some
generic functions which can sleep must be called (such as add_disk()).  So the
only correct solution is to make it a mutex instead of a spin_lock.  No other
change is done - this lock must be acquired in different places but it's done
afterwards.

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>
2006-10-31 08:06:59 -08:00
..
2006-09-27 08:26:15 -07:00
2006-05-01 18:17:44 -07:00
2006-09-27 08:26:15 -07:00
2006-09-27 08:26:15 -07:00
2006-10-08 16:34:08 -07:00
2006-09-27 08:26:15 -07:00
2006-09-27 08:26:15 -07:00
2006-10-24 22:01:10 -07:00
2006-10-24 22:01:10 -07:00
2006-10-08 16:34:08 -07:00
2006-09-29 09:18:04 -07:00
2006-09-27 08:26:15 -07:00
2006-10-10 15:37:24 -07:00
2006-10-08 16:34:08 -07:00
2005-04-16 15:20:36 -07:00
2006-09-29 09:18:04 -07:00
2006-09-27 08:26:15 -07:00
2006-09-27 08:26:15 -07:00
2006-09-27 08:26:15 -07:00
2006-09-27 08:26:15 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-08 16:34:08 -07:00
2005-04-16 15:20:36 -07:00