diff options
-rw-r--r-- | drivers/block/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 0770004616de..0939f36548c9 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c | |||
@@ -1915,7 +1915,7 @@ static int loop_add(struct loop_device **l, int i) | |||
1915 | goto out_free_idr; | 1915 | goto out_free_idr; |
1916 | 1916 | ||
1917 | lo->lo_queue = blk_mq_init_queue(&lo->tag_set); | 1917 | lo->lo_queue = blk_mq_init_queue(&lo->tag_set); |
1918 | if (IS_ERR_OR_NULL(lo->lo_queue)) { | 1918 | if (IS_ERR(lo->lo_queue)) { |
1919 | err = PTR_ERR(lo->lo_queue); | 1919 | err = PTR_ERR(lo->lo_queue); |
1920 | goto out_cleanup_tags; | 1920 | goto out_cleanup_tags; |
1921 | } | 1921 | } |