[PATCH] Fix oops when modifying /sys/block/dm-0/queue/nr_requests
From: Mike Christie <michaelc@cs.wisc.edu> DM, MD, rd and loop use blk_alloc_queue and blk_queue_make_request to initialize their queue, because they only use the make_request_fn. The attached patch prevents the queue from being registered if only blk_alloc_queue was called.
Showing
Please register or sign in to comment