summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2006-06-26 09:27:24 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 18:58:35 +0200
commit7ec75f254742766eb729f1d1024a5b4e6692fc5f (patch)
tree67cf98f49397c4f7a71e12afc82c04c7dedbe17f /drivers/md/dm.c
parent[PATCH] dm: add DMF_FREEING (diff)
downloadlinux-7ec75f254742766eb729f1d1024a5b4e6692fc5f.tar.xz
linux-7ec75f254742766eb729f1d1024a5b4e6692fc5f.zip
[PATCH] dm: fix mapped device ref counting
To avoid races, _minor_lock must be held while changing mapped device reference counts. There are a few paths where a mapped_device pointer is returned before a reference is taken. This patch fixes them. [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 'drivers/md/dm.c')
0 files changed, 0 insertions, 0 deletions