diff options
| author | Carlos Llamas <cmllamas@google.com> | 2025-10-30 04:39:18 +0000 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-10-30 08:52:57 -0600 |
| commit | 0b39ca457241aeca07a613002512573e8804f93a (patch) | |
| tree | 83059c2b005b931ce94df578bff8179cff463a1f /tools/docs/parse-headers.py | |
| parent | 19de03b312d69a7e9bacb51c806c6e3f4207376c (diff) | |
blk-crypto: use BLK_STS_INVAL for alignment errors
Make __blk_crypto_bio_prep() propagate BLK_STS_INVAL when IO segments
fail the data unit alignment check.
This was flagged by an LTP test that expects EINVAL when performing an
O_DIRECT read with a misaligned buffer [1].
Cc: Eric Biggers <ebiggers@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/all/aP-c5gPjrpsn0vJA@google.com/ [1]
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Reviewed-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
