[PATCH] UBI: block: Fix error path on alloc_workqueue failure

Brian Norris computersforpeace at gmail.com
Tue May 20 16:30:43 PDT 2014


On Tue, May 20, 2014 at 11:13:48AM +0200, Helmut Schaa wrote:
> Otherwise we'd return a random value if allocation of the workqueue fails.
> 
> Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
> ---
> Just stumbled over that one while playing with UBI block devices.

Acked-by: Brian Norris <computersforpeace at gmail.com>



More information about the linux-mtd mailing list