Files
linux/drivers
Jeff Mahoney f32c10b099 [PATCH] dm: change minor_lock to spinlock
While removing a device, another another thread might attempt to resurrect it.

This patch replaces the _minor_lock mutex with a spinlock and uses
atomic_dec_and_lock() to serialize reference counting in dm_put().

[akpm: too late for 2.6.17 - suitable for 2.6.17.x after it has settled]

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 09:58:34 -07:00
..
…
2006-06-20 01:21:29 -07:00
2006-06-26 09:58:17 -07:00
2006-06-25 10:01:16 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 08:47:27 -07:00
…
…
…
…
2006-06-20 01:21:29 -07:00
2006-06-26 09:58:18 -07:00
…
2006-06-26 09:58:18 -07:00
…
2006-06-19 13:06:05 +01:00
2006-06-26 09:58:19 -07:00
2006-06-19 15:37:31 +01:00
2006-06-25 10:01:14 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
…
…
…
2006-06-26 09:58:18 -07:00
2006-06-23 07:43:06 -07:00
…