commit | 92ce4bb02162ed04b020c9960e1350cca1b44b81 | [log] [tgz] |
---|---|---|
author | Ruchi Kandoi <kandoiruchi@google.com> | Fri Oct 23 17:49:11 2015 -0700 |
committer | Ruchi Kandoi <kandoiruchi@google.com> | Mon Oct 26 11:41:00 2015 -0700 |
tree | 5cf005a06086abd2fdcd1ed9a0d42480aa4d8afa | |
parent | 91baa3d7de3f2e3404239d88ce3434a55c5da1f8 [diff] |
uid_cputime: Check for the range while removing range of UIDs. Checking if the uid_entry->uid matches the uid intended to be removed will prevent deleting unwanted uid_entry. Type cast the key for the hashtable to the same size, as when they were inserted. This will make sure that we can find the uid_entry we want. Bug: 25195548 Change-Id: I567942123cfb20e4b61ad624da19ec4cc84642c1 Signed-off: Ruchi kandoi <kandoiruchi@google.com>