Skip to content

Commit 4e56428

Browse files
Christoph Hellwigaxboe
authored andcommitted
blk-crypto: fix name of the bio completion callback
Fix a simple naming issue in the documentation: the completion routine is called bi_end_io and not bi_complete. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Eric Biggers <ebiggers@kernel.org> Link: https://patch.msgid.link/20260401135854.125109-1-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent c691e4b commit 4e56428

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/block/inline-encryption.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ blk-crypto-fallback completes the original bio. If the original bio is too
153153
large, multiple bounce bios may be required; see the code for details.
154154

155155
For decryption, blk-crypto-fallback "wraps" the bio's completion callback
156-
(``bi_complete``) and private data (``bi_private``) with its own, unsets the
156+
(``bi_end_io``) and private data (``bi_private``) with its own, unsets the
157157
bio's encryption context, then submits the bio. If the read completes
158158
successfully, blk-crypto-fallback restores the bio's original completion
159159
callback and private data, then decrypts the bio's data in-place using the

0 commit comments

Comments
 (0)