summaryrefslogtreecommitdiff
path: root/sys/sys/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/aio.h')
-rw-r--r--sys/sys/aio.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/sys/aio.h b/sys/sys/aio.h
index 380c5bcf7cf99..71afdbf31b35f 100644
--- a/sys/sys/aio.h
+++ b/sys/sys/aio.h
@@ -137,18 +137,11 @@ struct kaiocb {
aio_cancel_fn_t *cancel_fn; /* (a) backend cancel function */
aio_handle_fn_t *handle_fn; /* (c) backend handle function */
union { /* Backend-specific data fields */
- struct { /* BIO backend */
- struct bio *bp; /* (*) BIO pointer */
- struct buf *pbuf; /* (*) buffer pointer */
- int npages; /* (*) number of pages */
- struct vm_page **pages; /* (*) */
- };
struct { /* fsync() requests */
int pending; /* (a) number of pending I/O */
};
- struct {
+ struct { /* socket backend */
void *backend1;
- void *backend2;
long backend3;
int backend4;
};