diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2009-04-11 21:53:57 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-12 11:33:48 +0530 |
commit | 1650945f2379cc33eab1b21c033d42152fa2592f (patch) | |
tree | 366c63e75f70a3307d7475037c1ec81eb0cd1390 /xlators | |
parent | 5617f5e3a3840b59263ede767c53f80088593c66 (diff) |
updated encryption/rot-13 with new readv writev prototypes
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/encryption/rot-13/src/rot-13.c | 11 |
1 files changed, 7 insertions, 4 deletions
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; } |