diff options
author | Richard Weinberger <richard@nod.at> | 2020-05-02 14:48:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-27 16:42:53 +0200 |
commit | d840a584a8fbccefbdbdac6a46e4788390c8d653 (patch) | |
tree | 4c5340725180056aba2a44cd7402318181f4ace1 /scripts/gcc-plugins | |
parent | af50d1a9c1affab776d5a8c8558a3adafdce1eeb (diff) |
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/gcc-plugins')
0 files changed, 0 insertions, 0 deletions