Merge "Revert "Revert "Stop dropping caches now we have kernel fix"""
diff --git a/KeyUtil.cpp b/KeyUtil.cpp
index 4d507a1..fe0f3cb 100644
--- a/KeyUtil.cpp
+++ b/KeyUtil.cpp
@@ -111,13 +111,6 @@
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;
}