Repository navigation
Commit 0e7572c
committed
ubi: Fix seq_file usage in detailed_erase_block_info debugfs file
3bfa7e1 ("fs/seq_file.c: seq_read(): add info message about buggy .next functions")
showed that we don't use seq_file correctly.
So make sure that our ->next function always updates the position.
Fixes: 7bccd12 ("ubi: Add debugfs file for tracking PEB state")
Signed-off-by: Richard Weinberger <richard@nod.at>1 parent 3c3c32f commit 0e7572c
1 file changed
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | 396 | | |
400 | 397 | | |
401 | 398 | | |
| |||
409 | 406 | | |
410 | 407 | | |
411 | 408 | | |
412 | | - | |
413 | | - | |
414 | 409 | | |
415 | 410 | | |
416 | 411 | | |
| |||
432 | 427 | | |
433 | 428 | | |
434 | 429 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
| 430 | + | |
| 431 | + | |
440 | 432 | | |
441 | 433 | | |
442 | 434 | | |
| |||
0 commit comments