summaryrefslogtreecommitdiff
path: root/cmds/installd/CacheItem.h
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2017-03-22 21:27:40 -0600
committer Jeff Sharkey <jsharkey@android.com> 2017-03-22 21:27:46 -0600
commited909ae8db2f44ce7fe7003c6fee457f13669702 (patch)
treed57c4f275cfa2cc1684abeb9748d0e17098f0f42 /cmds/installd/CacheItem.h
parent7459281f9e1d999281260ff4bbdf3d3e5e0459f5 (diff)
Follow "atomic" to "group" refactoring.
Remove noisy logging about UIDs that are relying on default cache quota of 64MiB. Move away from yucky old statfs() and use statvfs() instead. Test: /data/nativetest/installd_cache_test/installd_cache_test Bug: 35812899, 35684969, 36482620 Change-Id: I3d68da97eac2ebcda489bdf9d27061cac5b3f7cc
Diffstat (limited to 'cmds/installd/CacheItem.h')
-rw-r--r--cmds/installd/CacheItem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds/installd/CacheItem.h b/cmds/installd/CacheItem.h
index afbb15dafb..84b77aabb2 100644
--- a/cmds/installd/CacheItem.h
+++ b/cmds/installd/CacheItem.h
@@ -31,8 +31,8 @@ namespace installd {
/**
* Single cache item that can be purged to free up space. This may be an
- * isolated file, or an entire directory tree that should be atomically
- * deleted.
+ * isolated file, or an entire directory tree that should be deleted as a
+ * group.
*/
class CacheItem {
public:
@@ -46,7 +46,7 @@ public:
short level;
bool directory;
- bool atomic;
+ bool group;
bool tombstone;
int64_t size;
time_t modified;