diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 |
| commit | 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc (patch) | |
| tree | fe533abe3e7c400848647b95e4806f5125c654c3 /include/linux/aio.h | |
| parent | d40d9d29c020f8466c96f8e3ad4b7c014ff1085d (diff) | |
| parent | 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 (diff) | |
Merge branch 'master'
Diffstat (limited to 'include/linux/aio.h')
| -rw-r--r-- | include/linux/aio.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/aio.h b/include/linux/aio.h index 0decf66117c1..403d71dcb7c8 100644 --- a/include/linux/aio.h +++ b/include/linux/aio.h | |||
| @@ -183,6 +183,7 @@ struct kioctx { | |||
| 183 | struct list_head active_reqs; /* used for cancellation */ | 183 | struct list_head active_reqs; /* used for cancellation */ |
| 184 | struct list_head run_list; /* used for kicked reqs */ | 184 | struct list_head run_list; /* used for kicked reqs */ |
| 185 | 185 | ||
| 186 | /* sys_io_setup currently limits this to an unsigned int */ | ||
| 186 | unsigned max_reqs; | 187 | unsigned max_reqs; |
| 187 | 188 | ||
| 188 | struct aio_ring_info ring_info; | 189 | struct aio_ring_info ring_info; |
| @@ -234,7 +235,7 @@ static inline struct kiocb *list_kiocb(struct list_head *h) | |||
| 234 | } | 235 | } |
| 235 | 236 | ||
| 236 | /* for sysctl: */ | 237 | /* for sysctl: */ |
| 237 | extern atomic_t aio_nr; | 238 | extern unsigned long aio_nr; |
| 238 | extern unsigned aio_max_nr; | 239 | extern unsigned long aio_max_nr; |
| 239 | 240 | ||
| 240 | #endif /* __LINUX__AIO_H */ | 241 | #endif /* __LINUX__AIO_H */ |
