commit | 88f993b4a85d5a8638f9c2fd369b5ce6a078c847 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Tue Nov 03 14:11:00 2020 -0800 |
committer | Eric Biggers <ebiggers@google.com> | Tue Nov 03 14:11:00 2020 -0800 |
tree | f953b2a64ef120d4b2860591f0cb25de1218cc84 | |
parent | c01995ea3bfe357e8e85d3fe946014f675a0683f [diff] |
Check return value of create_crypto_blk_dev() cryptfs_enable_internal() forgot to check the return value of create_crypto_blk_dev(), so it was continuing to cryptfs_enable_inplace() when creating the dm-crypt device failed, which doesn't make sense. Test: see I08fc8465f7962abd698904b5466f3ed080d53953 Change-Id: If9f20069d0f084150aa887a350f7c0c31a6d80f2