diff options
-rw-r--r-- | fs/aio.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1020,7 +1020,7 @@ void aio_complete(struct kiocb *iocb, long res, long res2) | |||
1020 | } | 1020 | } |
1021 | EXPORT_SYMBOL(aio_complete); | 1021 | EXPORT_SYMBOL(aio_complete); |
1022 | 1022 | ||
1023 | /* aio_read_events | 1023 | /* aio_read_events_ring |
1024 | * Pull an event off of the ioctx's event ring. Returns the number of | 1024 | * Pull an event off of the ioctx's event ring. Returns the number of |
1025 | * events fetched | 1025 | * events fetched |
1026 | */ | 1026 | */ |
@@ -1272,9 +1272,8 @@ static ssize_t aio_setup_single_vector(struct kiocb *kiocb, | |||
1272 | } | 1272 | } |
1273 | 1273 | ||
1274 | /* | 1274 | /* |
1275 | * aio_setup_iocb: | 1275 | * aio_run_iocb: |
1276 | * Performs the initial checks and aio retry method | 1276 | * Performs the initial checks and io submission. |
1277 | * setup for the kiocb at the time of io submission. | ||
1278 | */ | 1277 | */ |
1279 | static ssize_t aio_run_iocb(struct kiocb *req, unsigned opcode, | 1278 | static ssize_t aio_run_iocb(struct kiocb *req, unsigned opcode, |
1280 | char __user *buf, bool compat) | 1279 | char __user *buf, bool compat) |