[dm-devel] [PATCH] Fix a bug in error path in alloc_dev

Alasdair G Kergon agk at redhat.com
Sun Jul 16 19:39:09 UTC 2006


On Sun, Jul 16, 2006 at 10:30:30PM +0300, Ishai Rabinovitz wrote:
> 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.
 
Well spotted!
[I don't like numbered labels BTW - the patch shows why.]
 
Alasdair
-- 
agk at redhat.com




More information about the dm-devel mailing list