summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker-quota-helper.h
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2017-01-26 16:45:51 +0100
committerRaghavendra G <rgowdapp@redhat.com>2017-01-31 00:04:44 -0500
commitf2ca301bd741e3e3f076cd3f72fcd377bcef2a1a (patch)
treeb729d719b29a80faaee6de85ccfb90f235c9fbb3 /xlators/features/marker/src/marker-quota-helper.h
parent1a95fc3036db51b82b6a80952f0908bc2019d24a (diff)
refcount: typecast function for calling on free
All of the functions called to free the refcounted structure are doing a typecast from (void*) to their own type taht is being free'd. This really is not needed and the refcount interface is made a little simpler without the requirement of typecasting. With this small improvement in the API, all callers are updated too. Change-Id: I32473b6d1799f62861d4b2d78ea30c09e6c80ab1 BUG: 1416889 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: https://review.gluster.org/16471 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Xavier Hernandez <xhernandez@datalab.es> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators/features/marker/src/marker-quota-helper.h')
-rw-r--r--xlators/features/marker/src/marker-quota-helper.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/features/marker/src/marker-quota-helper.h b/xlators/features/marker/src/marker-quota-helper.h
index bf417aa8241..444ba7ca71e 100644
--- a/xlators/features/marker/src/marker-quota-helper.h
+++ b/xlators/features/marker/src/marker-quota-helper.h
@@ -66,9 +66,6 @@ mq_local_ref (quota_local_t *);
int32_t
mq_local_unref (xlator_t *, quota_local_t *);
-void
-mq_contri_fini (void *data);
-
inode_contribution_t*
mq_contri_init (inode_t *inode);