aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/aio.h')
-rw-r--r--include/linux/aio.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/linux/aio.h b/include/linux/aio.h
index 7bb766e73968..b570472355d1 100644
--- a/include/linux/aio.h
+++ b/include/linux/aio.h
@@ -36,6 +36,7 @@ struct kiocb {
36 struct kioctx *ki_ctx; /* NULL for sync ops */ 36 struct kioctx *ki_ctx; /* NULL for sync ops */
37 kiocb_cancel_fn *ki_cancel; 37 kiocb_cancel_fn *ki_cancel;
38 void (*ki_dtor)(struct kiocb *); 38 void (*ki_dtor)(struct kiocb *);
39 void *private;
39 40
40 union { 41 union {
41 void __user *user; 42 void __user *user;
@@ -44,15 +45,7 @@ struct kiocb {
44 45
45 __u64 ki_user_data; /* user's data for completion */ 46 __u64 ki_user_data; /* user's data for completion */
46 loff_t ki_pos; 47 loff_t ki_pos;
47 48 size_t ki_nbytes; /* copy of iocb->aio_nbytes */
48 void *private;
49 /* State that we remember to be able to restart/retry */
50 unsigned short ki_opcode;
51 size_t ki_nbytes; /* copy of iocb->aio_nbytes */
52 char __user *ki_buf; /* remaining iocb->aio_buf */
53 struct iovec ki_inline_vec; /* inline vector */
54 struct iovec *ki_iovec;
55 unsigned long ki_nr_segs;
56 49
57 struct list_head ki_list; /* the aio core uses this 50 struct list_head ki_list; /* the aio core uses this
58 * for cancellation */ 51 * for cancellation */