summaryrefslogtreecommitdiffstats
path: root/xlators/debug
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-04-11 21:42:45 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-12 11:33:48 +0530
commitaed3aaef43589633f2a43d48435ef234582f37e0 (patch)
tree247040ab77f035b262dba6e034e297184b955484 /xlators/debug
parentd720afb836ecd22c13859356261e85334422f119 (diff)
updated debug/trace with new readv writev prototypes
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/debug')
-rw-r--r--xlators/debug/trace/src/trace.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/xlators/debug/trace/src/trace.c b/xlators/debug/trace/src/trace.c
index f0f005a7c..2c10c7515 100644
--- a/xlators/debug/trace/src/trace.c
+++ b/xlators/debug/trace/src/trace.c
@@ -167,7 +167,8 @@ trace_readv_cbk (call_frame_t *frame,
int32_t op_errno,
struct iovec *vector,
int32_t count,
- struct stat *buf)
+ struct stat *buf,
+ struct iobref *iobref)
{
char atime_buf[256], mtime_buf[256], ctime_buf[256];
ERR_EINVAL_NORETURN (!this);
@@ -196,7 +197,7 @@ trace_readv_cbk (call_frame_t *frame,
}
}
- STACK_UNWIND (frame, op_ret, op_errno, vector, count, buf);
+ STACK_UNWIND (frame, op_ret, op_errno, vector, count, buf, iobref);
return 0;
}
@@ -1657,7 +1658,8 @@ trace_writev (call_frame_t *frame,
fd_t *fd,
struct iovec *vector,
int32_t count,
- off_t offset)
+ off_t offset,
+ struct iobref *iobref)
{
ERR_EINVAL_NORETURN (!this || !fd || !vector || (count < 1));
@@ -1674,7 +1676,8 @@ trace_writev (call_frame_t *frame,
fd,
vector,
count,
- offset);
+ offset,
+ iobref);
return 0;
}