From: Ishai Rabinovitz Date: Tue, 3 Oct 2006 08:15:22 +0000 (-0700) Subject: [PATCH] dm: fix alloc_dev error path X-Git-Tag: v2.6.19-rc1~278 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f6ac6123be6f4ba14d71af0da0e8d3d39c33ed;p=pandora-kernel.git [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 Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed