diff options
author | Paul Crowley <paulcrowley@google.com> | 2020-03-22 08:10:58 -0700 |
---|---|---|
committer | Paul Crowley <paulcrowley@google.com> | 2020-04-07 07:33:05 -0700 |
commit | c9c9d1288f1fc22e36fb26d05e21e29ec7fa5812 (patch) | |
tree | 5b8f4c04595ae0d98a55139b8c61c7b6fdbb3ae5 /libutils/FileMap_test.cpp | |
parent | 3a5e138964097749b595f184c9bea82e09f47c52 (diff) |
Abolish DmTargetDefaultKey::IsLegacy
To make it easier to support disk formats created using old versions
of dm-default-key with new kernels, stop checking the kernel module
version; instead, the caller decides whether to use the old or new
options format.
Bug: 150761030
Test: crosshatch and cuttlefish boot normally; cuttlefish
fails with "default-key: Not enough arguments" as expected when
option is set to 1
Cherry-Picked-From: 539b98fb58cd0efa278336139d8f4ba963dad285
Merged-In: I810bb7e085b9b8648858de1a02165162d1fd163e
Change-Id: I810bb7e085b9b8648858de1a02165162d1fd163e
Diffstat (limited to 'libutils/FileMap_test.cpp')
0 files changed, 0 insertions, 0 deletions