block: cleanup bio_integrity_prep
authorJinyoung Choi <j-young.choi@samsung.com>
Tue, 25 Jul 2023 05:18:39 +0000 (14:18 +0900)
committerJens Axboe <axboe@kernel.dk>
Wed, 26 Jul 2023 02:30:54 +0000 (20:30 -0600)
commit51d74ec9b62f5813767a60226acaf943e26e7d7a
treec3db3f26b7a18a2c111f0232a1572433f5589c3d
parent65a558f66c308251e256317957b75d1e643c33c3
block: cleanup bio_integrity_prep

If a problem occurs in the process of creating an integrity payload, the
status of bio is always BLK_STS_RESOURCE.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jinyoung Choi <j-young.choi@samsung.com>
Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20230725051839epcms2p8e4d20ad6c51326ad032e8406f59d0aaa@epcms2p8
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio-integrity.c