projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'core-rcu-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git]
/
fs
/
seq_file.c
diff --git
a/fs/seq_file.c
b/fs/seq_file.c
index
79781eb
..
70f5fdf
100644
(file)
--- a/
fs/seq_file.c
+++ b/
fs/seq_file.c
@@
-232,9
+232,12
@@
Fill:
loff_t pos = m->index;
p = m->op->next(m, p, &m->index);
loff_t pos = m->index;
p = m->op->next(m, p, &m->index);
- if (pos == m->index)
- /* Buggy ->next function */
+ if (pos == m->index) {
+ pr_info_ratelimited("buggy seq_file .next function %ps "
+ "did not updated position index\n",
+ m->op->next);
m->index++;
m->index++;
+ }
if (!p || IS_ERR(p)) {
err = PTR_ERR(p);
break;
if (!p || IS_ERR(p)) {
err = PTR_ERR(p);
break;