On Wed, Mar 15, 2023 at 09:24:04AM -0700, Christoph Hellwig wrote: > > - if (blk_crypto_insert_cloned_request(rq)) > > + if (blk_crypto_rq_get_keyslot(rq)) > > return BLK_STS_IOERR; > > Wouldn't it be better to propagate the actual error from > blk_crypto_rq_get_keyslot? > I'll add a patch that does that. - Eric