Home
last modified time | relevance | path

Searched hist:e3f6ac6123be6f4ba14d71af0da0e8d3d39c33ed (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm.cdiff e3f6ac6123be6f4ba14d71af0da0e8d3d39c33ed Tue Oct 03 03:15:22 CDT 2006 Ishai Rabinovitz <ishai@mellanox.co.il> [PATCH] dm: fix alloc_dev error path

While reading the code I found a bug in the error path in alloc_dev in dm.c

When blk_alloc_queue fails there is no call to free_minor.

This patch fixes the problem.

Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>