summaryrefslogtreecommitdiffstats
path: root/xlators/debug/error-gen/src
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-04-11 21:43:51 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-12 11:33:48 +0530
commitd7b12cdc8d2bcbf89530e00710da308bd757e35d (patch)
tree347a65732ecda3ed4ba1cd68754fa4a75dbcf2ed /xlators/debug/error-gen/src
parentaed3aaef43589633f2a43d48435ef234582f37e0 (diff)
updated debug/error-gen with new readv writev prototypes
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/debug/error-gen/src')
-rw-r--r--xlators/debug/error-gen/src/error-gen.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/xlators/debug/error-gen/src/error-gen.c b/xlators/debug/error-gen/src/error-gen.c
index f013023a5..a14d7beda 100644
--- a/xlators/debug/error-gen/src/error-gen.c
+++ b/xlators/debug/error-gen/src/error-gen.c
@@ -794,14 +794,16 @@ error_gen_readv_cbk (call_frame_t *frame,
int32_t op_errno,
struct iovec *vector,
int32_t count,
- struct stat *stbuf)
+ struct stat *stbuf,
+ struct iobref *iobref)
{
STACK_UNWIND (frame,
op_ret,
op_errno,
vector,
count,
- stbuf);
+ stbuf,
+ iobref);
return 0;
}
@@ -853,7 +855,8 @@ error_gen_writev (call_frame_t *frame,
fd_t *fd,
struct iovec *vector,
int32_t count,
- off_t off)
+ off_t off,
+ struct iobref *iobref)
{
int op_errno = 0;
op_errno = error_gen(this);
@@ -871,7 +874,8 @@ error_gen_writev (call_frame_t *frame,
fd,
vector,
count,
- off);
+ off,
+ iobref);
return 0;
}