diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-05-17 14:55:02 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-05-17 14:55:02 -0400 |
commit | 4f7ced52c09ce4e59bf74989d71991a7da168fac (patch) | |
tree | 91bccc9527311ac5ad9a25dce69253fd65255507 /bftw.c | |
parent | f108e0952615e08a304d4e8564789d3534233e69 (diff) | |
download | bfs-4f7ced52c09ce4e59bf74989d71991a7da168fac.tar.xz |
bftw: Remove some debugging counters that were left in accidentally.
Diffstat (limited to 'bftw.c')
-rw-r--r-- | bftw.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -314,9 +314,6 @@ static bool dircache_should_retry(struct dircache *cache, const struct dircache_ } } -static size_t misses = 0; -static size_t total = 0; - /** * Open a dircache_entry. * @@ -340,13 +337,6 @@ static DIR *dircache_entry_open(struct dircache *cache, struct dircache_entry *e const char *at_path = path; struct dircache_entry *base = dircache_entry_base(cache, entry, &at_fd, &at_path); - ++total; - struct dircache_entry *asdf = entry; - do { - ++misses; - asdf = asdf->parent; - } while (asdf != base); - int flags = O_RDONLY | O_DIRECTORY | O_CLOEXEC; int fd = openat(at_fd, at_path, flags); |