From 91e3976e99523908541932c02b2c4e9df28a9510 Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Sat, 11 Apr 2009 21:48:35 +0530 Subject: updated features/filter with new readv writev prototypes Signed-off-by: Anand V. Avati --- xlators/features/filter/src/filter.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'xlators/features/filter') diff --git a/xlators/features/filter/src/filter.c b/xlators/features/filter/src/filter.c index ccffa8a77..154b172af 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; } -- cgit