Merge "Revert "Revert "Stop dropping caches now we have kernel fix""" into oc-dev
am: c40996e719
Change-Id: If30418cbb9af2e9d81b944474483c8040845c12d
This commit is contained in:
commit
0066d41edd
1 changed files with 0 additions and 7 deletions
|
@ -171,13 +171,6 @@ static bool install_key(const std::string& key, std::string* raw_ref) {
|
|||
LOG(DEBUG) << "Added key " << key_id << " (" << ref << ") to keyring " << device_keyring
|
||||
<< " in process " << getpid();
|
||||
|
||||
// *TODO* Remove this code when kernel is fixed - see b/28373400
|
||||
// Kernel preserves caches across a key insertion with ext4ice, which leads
|
||||
// to contradictory dirents
|
||||
if (!android::base::WriteStringToFile("3", "/proc/sys/vm/drop_caches")) {
|
||||
PLOG(ERROR) << "Failed to drop_caches";
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue