Re: [PATCH] block: NULL dereference on error path in __blkdev_get()

From: Jens Axboe
Date: Sat Mar 19 2011 - 08:54:21 EST

On 2011-03-18 09:37, Tejun Heo wrote:
> From: Dan Carpenter <error27@xxxxxxxxx>
> "disk" is always NULL when we goto out. There was a check for this
> before, but it was removed in 69e02c59a7d9 "block: Don't check events
> while open is in progress".

Thanks, applied.

Jens Axboe
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at