]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
blk-crypto: fix name of the bio completion callback
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Apr 2026 13:58:51 +0000 (15:58 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 Apr 2026 13:09:03 +0000 (07:09 -0600)
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>
Documentation/block/inline-encryption.rst

index 7e0703a12dfb8a1b508bcec136aaf1f34f96cfe1..cae23949a626b28924a82321408dc81eea0e59c7 100644 (file)
@@ -153,7 +153,7 @@ blk-crypto-fallback completes the original bio.  If the original bio is too
 large, multiple bounce bios may be required; see the code for details.
 
 For decryption, blk-crypto-fallback "wraps" the bio's completion callback
-(``bi_complete``) and private data (``bi_private``) with its own, unsets the
+(``bi_end_io``) and private data (``bi_private``) with its own, unsets the
 bio's encryption context, then submits the bio.  If the read completes
 successfully, blk-crypto-fallback restores the bio's original completion
 callback and private data, then decrypts the bio's data in-place using the