summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-cache/src/io-cache.c
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-10-14 05:50:59 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-14 04:56:11 -0700
commita9364b0a56186a3203820aca69b9875266e4c5f6 (patch)
tree9620f98ab550b3b5e48531b0fdc1c987b09b1c01 /xlators/performance/io-cache/src/io-cache.c
parent65f02619c7d4b29caa8dd11b78c294c521116f12 (diff)
io-cache: NFS-friendly changes
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 145 (NFSv3 related additions to 2.1 task list) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145
Diffstat (limited to 'xlators/performance/io-cache/src/io-cache.c')
-rw-r--r--xlators/performance/io-cache/src/io-cache.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.c b/xlators/performance/io-cache/src/io-cache.c
index e87fc856a..d8ddcdbb1 100644
--- a/xlators/performance/io-cache/src/io-cache.c
+++ b/xlators/performance/io-cache/src/io-cache.c
@@ -369,7 +369,7 @@ ioc_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
}
out:
- STACK_UNWIND (frame, op_ret, op_errno, inode, stbuf, dict);
+ STACK_UNWIND (frame, op_ret, op_errno, inode, stbuf, dict, postparent);
if (need_unref) {
dict_unref (dict);
@@ -399,7 +399,7 @@ ioc_lookup (call_frame_t *frame, xlator_t *this, loc_t *loc,
if (local == NULL) {
gf_log (this->name, GF_LOG_ERROR,
"out of memory");
- STACK_UNWIND (frame, -1, ENOMEM, NULL, NULL, NULL);
+ STACK_UNWIND (frame, -1, ENOMEM, NULL, NULL, NULL, NULL);
return 0;
}
@@ -797,7 +797,8 @@ ioc_create_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
frame->local = NULL;
FREE (local);
- STACK_UNWIND (frame, op_ret, op_errno, fd, inode, buf);
+ STACK_UNWIND (frame, op_ret, op_errno, fd, inode, buf, preparent,
+ postparent);
return 0;
}