X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fseq_file.c;h=70f5fdf99bf690a654ff18ef194a45cc848a7d0d;hb=2227e5b21aec6c5f7f6491352f0c19fd02d19418;hp=79781ebd2145e48d6a8735e1f44744054e03029b;hpb=8c3c07439e1d793d8803a404df86e487875f3340;p=linux-2.6-microblaze.git diff --git a/fs/seq_file.c b/fs/seq_file.c index 79781ebd2145..70f5fdf99bf6 100644 --- 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); - 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++; + } if (!p || IS_ERR(p)) { err = PTR_ERR(p); break;