diff options
Diffstat (limited to 'fs/direct-io.c')
| -rw-r--r-- | fs/direct-io.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/direct-io.c b/fs/direct-io.c index b044705eedd4..df709b3b860a 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c | |||
| @@ -1110,11 +1110,8 @@ direct_io_worker(int rw, struct kiocb *iocb, struct inode *inode, | |||
| 1110 | ((rw & READ) || (dio->result == dio->size))) | 1110 | ((rw & READ) || (dio->result == dio->size))) |
| 1111 | ret = -EIOCBQUEUED; | 1111 | ret = -EIOCBQUEUED; |
| 1112 | 1112 | ||
| 1113 | if (ret != -EIOCBQUEUED) { | 1113 | if (ret != -EIOCBQUEUED) |
| 1114 | /* All IO is now issued, send it on its way */ | ||
| 1115 | blk_run_address_space(inode->i_mapping); | ||
| 1116 | dio_await_completion(dio); | 1114 | dio_await_completion(dio); |
| 1117 | } | ||
| 1118 | 1115 | ||
| 1119 | /* | 1116 | /* |
| 1120 | * Sync will always be dropping the final ref and completing the | 1117 | * Sync will always be dropping the final ref and completing the |
