summaryrefslogtreecommitdiffstats
path: root/xlators/performance/stat-prefetch
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-08-20 05:37:31 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-21 05:17:06 -0700
commita81debc473fe5eddeba318c91715252238069b1e (patch)
tree35126133af9d69245426b51cafb7aaee66db3663 /xlators/performance/stat-prefetch
parenta6cc486e5733bcbe1bf562d6a523a5dd334cdf81 (diff)
performance/stat-prefetch: use SP_STACK_UNWIND instead of STACK_UNWIND_STRICT.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 993 (memory leak-in stat-prefetch) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=993
Diffstat (limited to 'xlators/performance/stat-prefetch')
-rw-r--r--xlators/performance/stat-prefetch/src/stat-prefetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c
index 66d7dffd265..058cae3cd9b 100644
--- a/xlators/performance/stat-prefetch/src/stat-prefetch.c
+++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c
@@ -2997,7 +2997,7 @@ int32_t
sp_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
int32_t op_ret, int32_t op_errno, dict_t *dict)
{
- STACK_UNWIND_STRICT (getxattr, frame, op_ret, op_errno, dict);
+ SP_STACK_UNWIND (getxattr, frame, op_ret, op_errno, dict);
return 0;
}
@@ -3219,7 +3219,7 @@ int32_t
sp_stbuf_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret,
int32_t op_errno, struct iatt *buf)
{
- STACK_UNWIND_STRICT (stat, frame, op_ret, op_errno, buf);
+ SP_STACK_UNWIND (stat, frame, op_ret, op_errno, buf);
return 0;
}