Dan Carpenter 8168b9bba6 UBI: block: Fix checking for NULL instead of IS_ERR()
We recently switched from allocating ->rq using blk_init_queue() to
use blk_mq_init_queue() so we need to update the error handling to
check for IS_ERR() instead of NULL.

Fixes: ff1f48ee3bb3 ('UBI: Block: Add blk-mq support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2015-02-12 23:33:32 +01:00
..
2014-12-17 09:59:26 -08:00
2014-12-17 09:59:26 -08:00
2014-12-17 09:59:26 -08:00
2014-12-17 09:59:26 -08:00
2014-04-14 11:23:01 -07:00
2014-08-19 11:53:09 -07:00
2014-08-19 11:53:08 -07:00
2014-08-19 11:53:08 -07:00
2014-03-10 22:42:25 -07:00
2014-08-19 11:53:07 -07:00