diff options
| author | Christoph Hellwig <[email protected]> | 2020-07-01 08:59:39 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-07-01 13:27:23 +0000 |
| commit | f695ca3886ce72b027af7aa6040cd420cae2088c (patch) | |
| tree | d1b933667a0a5680809554baf207e5aca90a790a /drivers/nvme/host/multipath.c | |
| parent | fs: remove a weird comment in submit_bh_wbc (diff) | |
| download | kernel-f695ca3886ce72b027af7aa6040cd420cae2088c.tar.gz kernel-f695ca3886ce72b027af7aa6040cd420cae2088c.zip | |
block: remove the request_queue argument from blk_queue_split
The queue can be trivially derived from the bio, so pass one less
argument.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/nvme/host/multipath.c')
| -rw-r--r-- | drivers/nvme/host/multipath.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/nvme/host/multipath.c b/drivers/nvme/host/multipath.c index da78e499947a..5a5205ea570a 100644 --- a/drivers/nvme/host/multipath.c +++ b/drivers/nvme/host/multipath.c @@ -301,12 +301,11 @@ static blk_qc_t nvme_ns_head_make_request(struct request_queue *q, int srcu_idx; /* - * The namespace might be going away and the bio might - * be moved to a different queue via blk_steal_bios(), - * so we need to use the bio_split pool from the original - * queue to allocate the bvecs from. + * The namespace might be going away and the bio might be moved to a + * different queue via blk_steal_bios(), so we need to use the bio_split + * pool from the original queue to allocate the bvecs from. */ - blk_queue_split(q, &bio); + blk_queue_split(&bio); srcu_idx = srcu_read_lock(&head->srcu); ns = nvme_find_path(head); |
