commit | 23a601248958fa4142d49294352fe8d1fdf3e509 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Thu Apr 27 10:11:19 2017 -0700 |
committer | Mike Snitzer <snitzer@redhat.com> | Thu Apr 27 17:08:40 2017 -0400 |
tree | 499d2503eba47bc8a139bba9b83e0160b536c594 | |
parent | c1d7ecf7ca11d0edd3085262c8597203440d056c [diff] |
dm rq: check blk_mq_register_dev() return value in dm_mq_init_request_queue() Otherwise the request-based DM blk-mq request_queue will be put into service without being properly exported via sysfs. Cc: stable@vger.kernel.org Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Mike Snitzer <snitzer@redhat.com>