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
committerRaghavendra Bhat <raghavendra@redhat.com>2015-01-08 01:41:20 -0800
commit89c2cc5ddb21f337fe66629fefe7230facbf9d7e (patch)
treed6ec464b64882144926a113543d315a2630e067c /xlators/features/snapview-server/src
parentea25ad8762bf40698f92567c273cfb8daebd6513 (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: 1175742 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> Signed-off-by: Sachin Pandit <spandit@redhat.com> Reviewed-on: http://review.gluster.org/9344
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;
}