summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2012-02-21 15:50:35 +0530
committerVijay Bellur <vijay@gluster.com>2012-02-21 02:28:54 -0800
commit39fb5051ffdf6a978537e8c50f05b7a0135f7075 (patch)
treec6a637261676e7227d6b52acb5129a267fc21ba4 /xlators
parent490d8805f0d9b4e58258505d678f0e75e089aa26 (diff)
features/md-cache: Change strdup to gf_strdup
Change-Id: Ic96e7d38b988efab49f723c9d1d46f65037a84ed BUG: 795682 Reviewed-on: http://review.gluster.com/2783 Reviewed-by: Anand Avati <avati@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/performance/md-cache/src/md-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index e6bb54d8e..45b024d9a 100644
--- a/xlators/performance/md-cache/src/md-cache.c
+++ b/xlators/performance/md-cache/src/md-cache.c
@@ -1056,7 +1056,7 @@ mdc_symlink (call_frame_t *frame, xlator_t *this, const char *linkname,
loc_copy (&local->loc, loc);
- local->linkname = strdup (linkname);
+ local->linkname = gf_strdup (linkname);
STACK_WIND (frame, mdc_symlink_cbk,
FIRST_CHILD(this), FIRST_CHILD(this)->fops->symlink,