summaryrefslogtreecommitdiffstats
path: root/xlators/performance/read-ahead/src/page.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-11-23 18:57:27 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-24 04:37:02 -0800
commit9aed8cd65940f99c9cdf647414d932750d2caf2d (patch)
tree3c7f8a44a5051a65a42dae0051737bc4df5a6f92 /xlators/performance/read-ahead/src/page.c
parentafdc2c956912d8b01db414fceacd74d9c3ab3dbe (diff)
performance/read-ahead: use STACK_UNWIND_STRICT for unwinding.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 269 (Add a specialized STACK_UNWIND macro for each FOP) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=269
Diffstat (limited to 'xlators/performance/read-ahead/src/page.c')
-rw-r--r--xlators/performance/read-ahead/src/page.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/performance/read-ahead/src/page.c b/xlators/performance/read-ahead/src/page.c
index da46b312b3f..07ab84ed8d7 100644
--- a/xlators/performance/read-ahead/src/page.c
+++ b/xlators/performance/read-ahead/src/page.c
@@ -400,10 +400,10 @@ ra_frame_unwind (call_frame_t *frame)
fd = local->fd;
ret = fd_ctx_get (fd, frame->this, &tmp_file);
file = (ra_file_t *)(long)tmp_file;
-
- STACK_UNWIND (frame, local->op_ret, local->op_errno,
- vector, count, &file->stbuf, iobref);
-
+
+ STACK_UNWIND_STRICT (readv, frame, local->op_ret, local->op_errno,
+ vector, count, &file->stbuf, iobref);
+
iobref_unref (iobref);
pthread_mutex_destroy (&local->local_lock);
free (local);