diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2009-04-11 01:52:08 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-12 11:33:47 +0530 |
commit | f33f0669efd89216a528bab3694ac4645a7f523b (patch) | |
tree | 071210cb6f567a9353af70fbcbef5ce9f2fbf56c /xlators/cluster/afr/src/afr-inode-read.c | |
parent | e0e6acd6fbdcbd294c89e61cbe108fc1b96a62a8 (diff) |
update cluster/afr with new readv writev prototypes
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-inode-read.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-inode-read.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-read.c b/xlators/cluster/afr/src/afr-inode-read.c index c7a7e99879d..2fa8f9e3632 100644 --- a/xlators/cluster/afr/src/afr-inode-read.c +++ b/xlators/cluster/afr/src/afr-inode-read.c @@ -679,7 +679,8 @@ out: int32_t afr_readv_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, - struct iovec *vector, int32_t count, struct stat *buf) + struct iovec *vector, int32_t count, struct stat *buf, + struct iobref *iobref) { afr_private_t * priv = NULL; afr_local_t * local = NULL; @@ -732,7 +733,8 @@ afr_readv_cbk (call_frame_t *frame, void *cookie, out: if (unwind) { - AFR_STACK_UNWIND (frame, op_ret, op_errno, vector, count, buf); + AFR_STACK_UNWIND (frame, op_ret, op_errno, vector, count, buf, + iobref); } return 0; @@ -802,7 +804,8 @@ afr_readv (call_frame_t *frame, xlator_t *this, op_ret = 0; out: if (op_ret == -1) { - AFR_STACK_UNWIND (frame, op_ret, op_errno, NULL, 0, NULL); + AFR_STACK_UNWIND (frame, op_ret, op_errno, NULL, 0, NULL, + NULL); } return 0; } |