diff options
author | Jeff Mahoney <jeffm@suse.com> | 2006-06-26 00:27:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:34 -0700 |
commit | f32c10b09940cffc3620ce111315ec44343fd3ca (patch) | |
tree | e5f1ee2febebd9c3b2426973a054ae16b5a80640 /Makefile | |
parent | 62f75c2f3244553b1290447abd1f1e6b1144d3e9 (diff) |
[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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions