commit | 9ca8476bfe57472253a4873c1c0c15324d44c953 | [log] [tgz] |
---|---|---|
author | Ruchi Kandoi <kandoiruchi@google.com> | Fri Oct 23 17:49:11 2015 -0700 |
committer | Amit Pundir <amit.pundir@linaro.org> | Mon Aug 08 12:02:17 2016 +0530 |
tree | 917a01cd6ca8936acf97599d75d37165909bfc4c | |
parent | 0934a81095d31fc12860c1c31d6f49d84eda0d6e [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>