Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ubi: Fix seq_file usage in detailed_erase_block_info debugfs file
[ Upstream commit 0e7572c ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information