summaryrefslogtreecommitdiffstats
path: root/xlators/performance/stat-prefetch/src/stat-prefetch.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-10-08 06:21:33 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-09 00:49:19 -0700
commit19322c4a2a2c439a7c90dabe07cee07deb9dc79a (patch)
tree8576a178c5ab08dbb230b3771a61426865ec2c91 /xlators/performance/stat-prefetch/src/stat-prefetch.c
parentbe267e3449f84b35f749beec7c90e895a231b32c (diff)
performance/stat-prefetch: fix mkdir to unwind with proper number of arguments.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 221 (stat prefetch implementation) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
Diffstat (limited to 'xlators/performance/stat-prefetch/src/stat-prefetch.c')
-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 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);