summaryrefslogtreecommitdiffstats
path: root/block/bsg.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-16 03:42:07 +0100
committerJens Axboe <axboe@kernel.dk>2018-11-16 03:47:35 +0100
commit9334ae5e6f9972110c2be136178ca2591c072b62 (patch)
tree7ea04e9483dbd948ab13a24af717b3e24ed29819 /block/bsg.c
parentnvme: fix handling of EINVAL on pci_alloc_irq_vectors_affinity() (diff)
downloadlinux-9334ae5e6f9972110c2be136178ca2591c072b62.tar.xz
linux-9334ae5e6f9972110c2be136178ca2591c072b62.zip
ide: clear ide_req()->special for non-passthrough requests
The initial patch cleared this for all requests, which is wrong since internal uses can't have this cleared as that's what they are using to pass data. The fix moved the initialization to the mq_ops->initialize_rq_fn(), but that's only a partial fix since it only catches uses from blk_get_request(), not requests coming from the file system. Keep the non-fs initialization, and add the IDE entry clear IFF RQF_DONTPREP isn't set and it's a passthrough request. Fixes: d16a67667c61 ("ide: don't clear special on ide_queue_rq() entry") Fixes: 22ce0a7ccf23 ("ide: don't use req->special") Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions