diff options
| author | Alan Somers <asomers@FreeBSD.org> | 2019-06-27 17:59:15 +0000 |
|---|---|---|
| committer | Alan Somers <asomers@FreeBSD.org> | 2019-06-27 17:59:15 +0000 |
| commit | 38c8634635b765097cc7140c66f46958b6108a30 (patch) | |
| tree | 96d70f509656291c699ab662d1e1418663c482ec | |
| parent | 9cf5812603c760d19b79668febd4e9a7f14804de (diff) | |
Notes
| -rw-r--r-- | sys/fs/fuse/fuse_file.c | 2 | ||||
| -rw-r--r-- | sys/fs/fuse/fuse_internal.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/fuse/fuse_file.c b/sys/fs/fuse/fuse_file.c index 6e18a5b13c4e1..d1a7ad8e63eba 100644 --- a/sys/fs/fuse/fuse_file.c +++ b/sys/fs/fuse/fuse_file.c @@ -94,7 +94,7 @@ SDT_PROVIDER_DECLARE(fusefs); */ SDT_PROBE_DEFINE2(fusefs, , file, trace, "int", "char*"); -static counter_u64_t fuse_fh_count = 0; +static counter_u64_t fuse_fh_count; SYSCTL_COUNTER_U64(_vfs_fusefs_stats, OID_AUTO, filehandle_count, CTLFLAG_RD, &fuse_fh_count, "number of open FUSE filehandles"); diff --git a/sys/fs/fuse/fuse_internal.c b/sys/fs/fuse/fuse_internal.c index 870c6e7eb538a..19dab451e529c 100644 --- a/sys/fs/fuse/fuse_internal.c +++ b/sys/fs/fuse/fuse_internal.c @@ -108,8 +108,8 @@ static int isbzero(void *buf, size_t len); #endif -counter_u64_t fuse_lookup_cache_hits = 0; -counter_u64_t fuse_lookup_cache_misses = 0; +counter_u64_t fuse_lookup_cache_hits; +counter_u64_t fuse_lookup_cache_misses; SYSCTL_COUNTER_U64(_vfs_fusefs_stats, OID_AUTO, lookup_cache_hits, CTLFLAG_RD, &fuse_lookup_cache_hits, "number of positive cache hits in lookup"); |
