drbd: don't override the queue_lock
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Nov 2018 16:02:14 +0000 (17:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Nov 2018 19:13:29 +0000 (12:13 -0700)
commit8295a69bdc3cb8707e645f9b2de6f3019a521882
tree528e12d09fc793b43447ae1f94b3cb61757aad21
parent7fb1763de6f8b4d6e7a69a08a14ce5496500f2c5
drbd: don't override the queue_lock

The DRBD req_lock and block layer queue_lock are used for entirely
different resources.  Stop using the req_lock as the block layer
queue_lock.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_main.c