summaryrefslogtreecommitdiff
path: root/block/blk-integrity.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-10-12 22:23:39 +0300
committerJens Axboe <axboe@fb.com>2015-10-15 18:04:36 +0300
commit1951feae88c5a39105a704188ccf910faf1d0c50 (patch)
treecf85d3d53b4a69fb2758c48594d4b54bf7ad7223 /block/blk-integrity.c
parent3d42e67fe5ebc1e5c3aae9b1037e38ec99a362cc (diff)
downloadlinux-1951feae88c5a39105a704188ccf910faf1d0c50.tar.xz
nvme: use an integer value to Linux errno values
Use a separate integer variable to hold the signed Linux errno values we pass back to the block layer. Note that for pass through commands those might still be NVMe values, but those fit into the int as well. Fixes: f4829a9b7a61: ("blk-mq: fix racy updates of rq->errors") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions