svn commit: r350621 - projects/fuse2/sys/fs/fuse
Alan Somers
asomers at FreeBSD.org
Tue Aug 6 00:50:27 UTC 2019
Author: asomers
Date: Tue Aug 6 00:50:25 2019
New Revision: 350621
URL: https://svnweb.freebsd.org/changeset/base/350621
Log:
fusefs: remove superfluous counter_u64_zero
Reported by: glebius
Sponsored by: The FreeBSD Foundation
Modified:
projects/fuse2/sys/fs/fuse/fuse_file.c
projects/fuse2/sys/fs/fuse/fuse_internal.c
projects/fuse2/sys/fs/fuse/fuse_ipc.c
projects/fuse2/sys/fs/fuse/fuse_node.c
Modified: projects/fuse2/sys/fs/fuse/fuse_file.c
==============================================================================
--- projects/fuse2/sys/fs/fuse/fuse_file.c Mon Aug 5 22:59:35 2019 (r350620)
+++ projects/fuse2/sys/fs/fuse/fuse_file.c Tue Aug 6 00:50:25 2019 (r350621)
@@ -367,7 +367,6 @@ void
fuse_file_init(void)
{
fuse_fh_count = counter_u64_alloc(M_WAITOK);
- counter_u64_zero(fuse_fh_count);
}
void
Modified: projects/fuse2/sys/fs/fuse/fuse_internal.c
==============================================================================
--- projects/fuse2/sys/fs/fuse/fuse_internal.c Mon Aug 5 22:59:35 2019 (r350620)
+++ projects/fuse2/sys/fs/fuse/fuse_internal.c Tue Aug 6 00:50:25 2019 (r350621)
@@ -1205,9 +1205,7 @@ void
fuse_internal_init(void)
{
fuse_lookup_cache_misses = counter_u64_alloc(M_WAITOK);
- counter_u64_zero(fuse_lookup_cache_misses);
fuse_lookup_cache_hits = counter_u64_alloc(M_WAITOK);
- counter_u64_zero(fuse_lookup_cache_hits);
}
void
Modified: projects/fuse2/sys/fs/fuse/fuse_ipc.c
==============================================================================
--- projects/fuse2/sys/fs/fuse/fuse_ipc.c Mon Aug 5 22:59:35 2019 (r350620)
+++ projects/fuse2/sys/fs/fuse/fuse_ipc.c Tue Aug 6 00:50:25 2019 (r350621)
@@ -1087,7 +1087,6 @@ fuse_ipc_init(void)
fticket_ctor, fticket_dtor, fticket_init, fticket_fini,
UMA_ALIGN_PTR, 0);
fuse_ticket_count = counter_u64_alloc(M_WAITOK);
- counter_u64_zero(fuse_ticket_count);
}
void
Modified: projects/fuse2/sys/fs/fuse/fuse_node.c
==============================================================================
--- projects/fuse2/sys/fs/fuse/fuse_node.c Mon Aug 5 22:59:35 2019 (r350620)
+++ projects/fuse2/sys/fs/fuse/fuse_node.c Tue Aug 6 00:50:25 2019 (r350621)
@@ -491,7 +491,6 @@ void
fuse_node_init(void)
{
fuse_node_count = counter_u64_alloc(M_WAITOK);
- counter_u64_zero(fuse_node_count);
}
void
More information about the svn-src-projects
mailing list