summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-04-11 21:48:35 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-12 11:33:48 +0530
commit91e3976e99523908541932c02b2c4e9df28a9510 (patch)
tree8a85515f9b84d51d5f86c23e0fd4abf29277fab2
parent5d80832d2dc0127b8f380afd7d49ff7b27ac79ec (diff)
updated features/filter with new readv writev prototypes
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-rw-r--r--xlators/features/filter/src/filter.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/xlators/features/filter/src/filter.c b/xlators/features/filter/src/filter.c
index ccffa8a779b..154b172af5c 100644
--- a/xlators/features/filter/src/filter.c
+++ b/xlators/features/filter/src/filter.c
@@ -1098,7 +1098,8 @@ filter_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)
{
if (op_ret >= 0) {
update_stat (stbuf, this->private);
@@ -1108,7 +1109,8 @@ filter_readv_cbk (call_frame_t *frame,
op_errno,
vector,
count,
- stbuf);
+ stbuf,
+ iobref);
return 0;
}
@@ -1154,7 +1156,8 @@ filter_writev (call_frame_t *frame,
fd_t *fd,
struct iovec *vector,
int32_t count,
- off_t off)
+ off_t off,
+ struct iobref *iobref)
{
int32_t ret = 0;
ret = update_frame (frame, fd->inode, this->private);
@@ -1173,7 +1176,8 @@ filter_writev (call_frame_t *frame,
fd,
vector,
count,
- off);
+ off,
+ iobref);
return 0;
}