diff options
author | Amar Tumballi <amarts@redhat.com> | 2019-05-29 17:54:45 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2019-05-30 07:35:21 +0000 |
commit | 002f4736cd470c20f427d8c25916abb4b95c9240 (patch) | |
tree | b2968d6a7a3db6c9b74faa0a1e746351f0bf7736 /xlators/features/marker/src/marker-quota.c | |
parent | 71caf1423fe5f0eed652210f8158c95fc8a10219 (diff) |
marker: remove some unused functions
After basic analysis, found that these methods were not being
used at all.
updates: bz#1693692
Change-Id: If9cfa1ab189e6e7b56230c4e1d8e11f9694a9a65
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/features/marker/src/marker-quota.c')
-rw-r--r-- | xlators/features/marker/src/marker-quota.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c index dcf03e2f94f..31584f5446b 100644 --- a/xlators/features/marker/src/marker-quota.c +++ b/xlators/features/marker/src/marker-quota.c @@ -853,12 +853,6 @@ out: } int32_t -mq_get_size(xlator_t *this, loc_t *loc, quota_meta_t *size) -{ - return _mq_get_metadata(this, loc, NULL, size, 0); -} - -int32_t mq_get_delta(xlator_t *this, loc_t *loc, quota_meta_t *delta, quota_inode_ctx_t *ctx, inode_contribution_t *contribution) { @@ -1944,7 +1938,7 @@ mq_update_dirty_inode_task(void *opaque) /* Inculde for self */ contri_sum.dir_count++; - ret = mq_get_size(this, loc, &size); + ret = _mq_get_metadata(this, loc, NULL, &size, 0); if (ret < 0) goto out; |