Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 760b3283 authored by Satya Tangirala's avatar Satya Tangirala
Browse files

ANDROID: block: Fix bio_crypt_should_process WARN_ON



bio_crypt_should_process would WARN that the bio did not have a
keyslot in any keyslot manager even when we were on the decrypt path
of blk-crypto, which is a bug. The WARN is now conditional on the
caller being responible for handling encryption rather than blk-crypto
(i.e. the WARN happens only if this function return true).

Bug: 137270441
Test: tested as series; see Ie1b77f7615d6a7a60fdc9105c7ab2200d17636a8
Change-Id: I01aa7a04a5ab9c9e579bde8a06d095916d880e2c
Signed-off-by: default avatarSatya Tangirala <satyat@google.com>
parent 138adbbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment