diff options
author | Amar Tumballi <amarts@redhat.com> | 2019-06-18 11:00:38 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-06-25 09:36:20 +0000 |
commit | a066fd70e579db9099251f1debac02f0a87de4c1 (patch) | |
tree | d4feb257376df010c814243f90021f14b7ede5ae /xlators/features | |
parent | fa804f13f3c1a2e8701327a3746b979f04ce09dd (diff) |
lcov: add more tests to glfsxmp-coverage
* found a bug with quiesce fallocate() - fixed.
* found a bug with cloudsync part of code in posix - fixed
updates: bz#1693692
Change-Id: I4f315ffebb612de072ae08761b8cd0f47714080a
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r-- | xlators/features/quiesce/src/quiesce.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/xlators/features/quiesce/src/quiesce.c b/xlators/features/quiesce/src/quiesce.c index bfd1116a568..218db9c921a 100644 --- a/xlators/features/quiesce/src/quiesce.c +++ b/xlators/features/quiesce/src/quiesce.c @@ -2364,19 +2364,10 @@ quiesce_fallocate(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t mode, { quiesce_priv_t *priv = NULL; call_stub_t *stub = NULL; - quiesce_local_t *local = NULL; priv = this->private; if (priv && priv->pass_through) { - local = mem_get0(priv->local_pool); - local->fd = fd_ref(fd); - local->offset = offset; - local->len = len; - local->flag = mode; - - frame->local = local; - STACK_WIND(frame, default_fallocate_cbk, FIRST_CHILD(this), FIRST_CHILD(this)->fops->fallocate, fd, mode, offset, len, xdata); |