From 19322c4a2a2c439a7c90dabe07cee07deb9dc79a Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Thu, 8 Oct 2009 06:21:33 +0000 Subject: performance/stat-prefetch: fix mkdir to unwind with proper number of arguments. Signed-off-by: Anand V. Avati BUG: 221 (stat prefetch implementation) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221 --- xlators/performance/stat-prefetch/src/stat-prefetch.c | 4 ++-- 1 file 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 1342f754af5..be2f9a5abc7 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.c +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c @@ -1222,7 +1222,7 @@ sp_mkdir_helper (call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode) return 0; unwind: - SP_STACK_UNWIND (frame, -1, op_errno, NULL, NULL, NULL); + SP_STACK_UNWIND (frame, -1, op_errno, NULL, NULL, NULL, NULL); return 0; } @@ -1264,7 +1264,7 @@ sp_mkdir (call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode) out: if (need_unwind) { - SP_STACK_UNWIND (frame, -1, op_errno, NULL, NULL, NULL); + SP_STACK_UNWIND (frame, -1, op_errno, NULL, NULL, NULL, NULL); } else if (need_lookup) { STACK_WIND (frame, sp_lookup_cbk, FIRST_CHILD(this), FIRST_CHILD(this)->fops->lookup, loc, NULL); -- cgit