diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2014-06-25 17:52:38 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-06-25 17:53:47 +0200 |
commit | 54ed4ed8f9a5071a3bbae2e037376d8c02b9629b (patch) | |
tree | 8af1eb069624fa2aa4ab8a27b7eb39429b2998c0 /block/bio.c | |
parent | blk-mq: blk_mq_start_hw_queue() should use blk_mq_run_hw_queue() (diff) | |
download | linux-54ed4ed8f9a5071a3bbae2e037376d8c02b9629b.tar.xz linux-54ed4ed8f9a5071a3bbae2e037376d8c02b9629b.zip |
drbd: fix NULL pointer deref in blk_add_request_payload
Discards don't have any payload.
But the scsi layer still expects a bio_vec it can use internally,
see sd_setup_discard_cmnd() and blk_add_request_payload().
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions