diff options
author | Christoph Hellwig <hch@lst.de> | 2019-07-03 05:24:35 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-07-03 07:20:40 -0600 |
commit | d665e12aa713e598a1100a320e5679c3f73823ed (patch) | |
tree | a4a586de3a4566a4f412a487fac06cfb1f1fd060 /drivers/pps/kapi.c | |
parent | 970d168de636ddac8221cbd4a11d7678943e7379 (diff) | |
download | linux-d665e12aa713e598a1100a320e5679c3f73823ed.tar.gz linux-d665e12aa713e598a1100a320e5679c3f73823ed.tar.bz2 linux-d665e12aa713e598a1100a320e5679c3f73823ed.zip |
block: nr_phys_segments needs to be zero for REQ_OP_WRITE_ZEROES
Fix a regression introduced when removing bi_phys_segments for Write Zeroes
requests, which need to have a segment count of zero, as they don't have a
payload.
Fixes: 14ccb66b3f58 ("block: remove the bi_phys_segments field in struct bio")
Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/pps/kapi.c')
0 files changed, 0 insertions, 0 deletions