Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e112af0d authored by Matias Bjørling's avatar Matias Bjørling Committed by Jens Axboe
Browse files

nvme: don't overwrite req->cmd_flags on sync cmd



In __nvme_submit_sync_cmd, the request direction is overwritten when
the REQ_FAILFAST_DRIVER flag is set.

Signed-off-by: default avatarMatias Bjørling <m@bjorling.me>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Fixes: 75619bfa ("NVMe: End sync requests immediately on failure")
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 2f17d71d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment