diff options
author | Richard Weinberger <richard@nod.at> | 2020-05-02 15:48:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-27 18:37:30 +0300 |
commit | 3251a0749e09441e6ea69414f52d37bd7a81d960 (patch) | |
tree | e03c051ea6aaec2f1c956d134e500826a07d5306 /scripts | |
parent | c3c1cf3dbb9ca9809a670927a8bb5f97c386ce3b (diff) | |
download | linux-3251a0749e09441e6ea69414f52d37bd7a81d960.tar.xz |
ubi: Fix seq_file usage in detailed_erase_block_info debugfs file
[ Upstream commit 0e7572cffe442290c347e779bf8bd4306bb0aa7c ]
3bfa7e141b0b ("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: 7bccd12d27b7 ("ubi: Add debugfs file for tracking PEB state")
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions