diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 8f1a95406bae..9f70e02111c6 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -1411,7 +1411,7 @@ static ssize_t shmem_file_aio_read(struct kiocb *iocb, | |||
1411 | pgoff_t index; | 1411 | pgoff_t index; |
1412 | unsigned long offset; | 1412 | unsigned long offset; |
1413 | enum sgp_type sgp = SGP_READ; | 1413 | enum sgp_type sgp = SGP_READ; |
1414 | int error; | 1414 | int error = 0; |
1415 | ssize_t retval; | 1415 | ssize_t retval; |
1416 | size_t count; | 1416 | size_t count; |
1417 | loff_t *ppos = &iocb->ki_pos; | 1417 | loff_t *ppos = &iocb->ki_pos; |