diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2009-04-11 01:57:14 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-12 11:33:47 +0530 |
commit | 89cacef43e843c7563ed5d4ebb6ec16a3b81df3e (patch) | |
tree | 148dbc9671b4da836f9be4ffc53fe9cc4efa72e0 /xlators/cluster | |
parent | f33f0669efd89216a528bab3694ac4645a7f523b (diff) |
update cluster/dht with new readv writev prototypes
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index b163f48d71b..e68b268df30 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -1708,9 +1708,11 @@ err: int dht_readv_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int op_ret, int op_errno, - struct iovec *vector, int count, struct stat *stbuf) + struct iovec *vector, int count, struct stat *stbuf, + struct iobref *iobref) { - DHT_STACK_UNWIND (frame, op_ret, op_errno, vector, count, stbuf); + DHT_STACK_UNWIND (frame, op_ret, op_errno, vector, count, stbuf, + iobref); return 0; } @@ -1744,7 +1746,7 @@ dht_readv (call_frame_t *frame, xlator_t *this, err: op_errno = (op_errno == -1) ? errno : op_errno; - DHT_STACK_UNWIND (frame, -1, op_errno, NULL, 0, NULL); + DHT_STACK_UNWIND (frame, -1, op_errno, NULL, 0, NULL, NULL); return 0; } @@ -1762,7 +1764,8 @@ dht_writev_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int dht_writev (call_frame_t *frame, xlator_t *this, - fd_t *fd, struct iovec *vector, int count, off_t off) + fd_t *fd, struct iovec *vector, int count, off_t off, + struct iobref *iobref) { xlator_t *subvol = NULL; int op_errno = -1; @@ -1782,7 +1785,7 @@ dht_writev (call_frame_t *frame, xlator_t *this, STACK_WIND (frame, dht_writev_cbk, subvol, subvol->fops->writev, - fd, vector, count, off); + fd, vector, count, off, iobref); return 0; |