diff --git a/fs/seq_file.c b/fs/seq_file.c index 2716c12eacf5062501634111ae1544f653342c62..5267098532bfc8a3a6c25026119a14c144d49f5c 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c @@ -102,6 +102,7 @@ static int traverse(struct seq_file *m, loff_t offset) p = m->op->next(m, p, &index); } m->op->stop(m, p); + m->index = index; return error; Eoverflow: