Skip to contentSkip to conversation

blk-crypto: fix name of the bio completion callback

PATCH Applied Christoph Hellwig 3 participants 3 messages Apr 1 – Apr 2

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Documentation/block/inline-encryption.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/block/inline-encryption.rst +1 -1
index 7e0703a12dfb..cae23949a626 100644
@@ -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
Signature · 1 line
2.47.3
maintainer Applied
#2 lore raw
In reply to Christoph Hellwig
Quoted 2 lines · Christoph Hellwig

Fix a simple naming issue in the documentation: the completion routine is called bi_end_io and not bi_complete.

Applied, thanks!

[1/1] blk-crypto: fix name of the bio completion callback

      commit: 4e56428ed4782e9e1356875af8e714b24c5a8783

Best regards,

Signature · 1 line
Jens Axboe