mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
block: Dedicated error code fixups
This patch fixes two sparse warnings introduced by the "dedicated error codes for the block layer V3" patch series. These changes have not been tested. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
committed by
Jens Axboe
parent
047385b3dd
commit
a462b95083
@@ -91,7 +91,7 @@ static blk_status_t t10_pi_verify(struct blk_integrity_iter *iter,
|
||||
"(rcvd %u)\n", iter->disk_name,
|
||||
(unsigned long long)
|
||||
iter->seed, be32_to_cpu(pi->ref_tag));
|
||||
return -EILSEQ;
|
||||
return BLK_STS_PROTECTION;
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
|
||||
Reference in New Issue
Block a user