diff options
-rw-r--r-- | mm/filemap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index e006c57bda54..adbac104f34c 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -1219,6 +1219,8 @@ generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov, | |||
1219 | retval = retval ?: desc.error; | 1219 | retval = retval ?: desc.error; |
1220 | break; | 1220 | break; |
1221 | } | 1221 | } |
1222 | if (desc.count > 0) | ||
1223 | break; | ||
1222 | } | 1224 | } |
1223 | } | 1225 | } |
1224 | out: | 1226 | out: |