[dm-devel] dm: fix an error code in local_init()

Mike Snitzer snitzer at redhat.com
Tue Jul 8 16:21:28 UTC 2014


On Tue, Jul 08 2014 at  6:55am -0400,
Dan Carpenter <dan.carpenter at oracle.com> wrote:

> We return success if we can't allocate a work queue but we should return
> -ENOMEM.  The code was a bit messy so that's why this small bug was
> introduced and I have cleaned that as well.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Thanks Dan!  I folded your fix into the commit that introduced this bug
because that commit was marked for stable and will be sent to Linus
shortly.  See the new rebased commit here:

https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=for-next&id=58f3fce6ee8c37c1c18f36439102d5cccc5363c8




More information about the dm-devel mailing list