summaryrefslogtreecommitdiffstats
path: root/xlators/features/snapview-server/src
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendra@redhat.com>2014-11-28 18:08:53 +0530
committerVijay Bellur <vbellur@redhat.com>2014-12-09 20:27:33 -0800
commit7cfa31434eb132adc0ac5cba4dcde600897cd2eb (patch)
treecd7fcd76fbfa26ae6bb62e5c3954d2d04aa340a5 /xlators/features/snapview-server/src
parentad1ed8006047e862810f43d818dc44534e953d91 (diff)
features/snapview-client: handle readdir requests differently for samba
* For samba export, the entry point is also added to the readdir response. Change-Id: I825c017e0f16db1f1890bb56e086f36e6558a1c2 BUG: 1168875 Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com> Reviewed-on: http://review.gluster.org/9218 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/snapview-server/src')
-rw-r--r--xlators/features/snapview-server/src/snapview-server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/snapview-server/src/snapview-server.c b/xlators/features/snapview-server/src/snapview-server.c
index 55b51a1e367..5f42a996825 100644
--- a/xlators/features/snapview-server/src/snapview-server.c
+++ b/xlators/features/snapview-server/src/snapview-server.c
@@ -1062,6 +1062,8 @@ svs_releasedir (xlator_t *this, fd_t *fd)
uuid_utoa (fd->inode->gfid));
}
+ GF_FREE (sfd);
+
out:
return 0;
}
@@ -1132,6 +1134,7 @@ svs_release (xlator_t *this, fd_t *fd)
}
}
+ GF_FREE (sfd);
out:
return 0;
}