From 1650945f2379cc33eab1b21c033d42152fa2592f Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Sat, 11 Apr 2009 21:53:57 +0530 Subject: updated encryption/rot-13 with new readv writev prototypes Signed-off-by: Anand V. Avati --- xlators/encryption/rot-13/src/rot-13.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'xlators/encryption/rot-13') diff --git a/xlators/encryption/rot-13/src/rot-13.c b/xlators/encryption/rot-13/src/rot-13.c index 8f784257e8d..738b8414f1e 100644 --- a/xlators/encryption/rot-13/src/rot-13.c +++ b/xlators/encryption/rot-13/src/rot-13.c @@ -67,14 +67,15 @@ rot13_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) { rot_13_private_t *priv = (rot_13_private_t *)this->private; if (priv->decrypt_read) rot13_iovec (vector, count); - STACK_UNWIND (frame, op_ret, op_errno, vector, count, stbuf); + STACK_UNWIND (frame, op_ret, op_errno, vector, count, stbuf, iobref); return 0; } @@ -111,7 +112,8 @@ rot13_writev (call_frame_t *frame, fd_t *fd, struct iovec *vector, int32_t count, - off_t offset) + off_t offset, + struct iobref *iobref) { rot_13_private_t *priv = (rot_13_private_t *)this->private; if (priv->encrypt_write) @@ -121,7 +123,8 @@ rot13_writev (call_frame_t *frame, rot13_writev_cbk, FIRST_CHILD (this), FIRST_CHILD (this)->fops->writev, - fd, vector, count, offset); + fd, vector, count, offset, + iobref); return 0; } -- cgit