From a9364b0a56186a3203820aca69b9875266e4c5f6 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Wed, 14 Oct 2009 05:50:59 +0000 Subject: io-cache: NFS-friendly changes Signed-off-by: Anand V. Avati BUG: 145 (NFSv3 related additions to 2.1 task list) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145 --- xlators/performance/io-cache/src/io-cache.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xlators/performance/io-cache/src/io-cache.c') 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; } -- cgit