ceph: remove redundant io_iter_advance()

ceph_sync_read and generic_file_read_iter() have already advanced the
IO iterator.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
Yan, Zheng 2014-09-17 14:44:51 +08:00 коммит произвёл Ilya Dryomov
Родитель 6cd3bcad0d
Коммит 3b70b388e3
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -835,7 +835,6 @@ again:
", reading more\n", iocb->ki_pos,
inode->i_size);
iov_iter_advance(to, ret);
read += ret;
len -= ret;
checkeof = 0;