diff options
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index cc480c07c71b..d6e67be1802e 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -2048,7 +2048,7 @@ generic_file_read_iter(struct kiocb *iocb, struct iov_iter *iter) | |||
2048 | iocb->ki_pos += retval; | 2048 | iocb->ki_pos += retval; |
2049 | count -= retval; | 2049 | count -= retval; |
2050 | } | 2050 | } |
2051 | iov_iter_revert(iter, iov_iter_count(iter) - count); | 2051 | iov_iter_revert(iter, count - iov_iter_count(iter)); |
2052 | 2052 | ||
2053 | /* | 2053 | /* |
2054 | * Btrfs can have a short DIO read if we encounter | 2054 | * Btrfs can have a short DIO read if we encounter |