diff options
| author | Wengang Wang <wen.gang.wang@oracle.com> | 2024-11-19 09:45:00 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 20:03:31 +0100 |
| commit | eb58460ff77e7bb9333b7e66ca91f1698729606e (patch) | |
| tree | 3545df48c727884eff8818f84d99cc47d541eb29 /lib | |
| parent | 9722010afd9c069d725f431fab2fd7bc8513d64e (diff) | |
| download | linux-eb58460ff77e7bb9333b7e66ca91f1698729606e.tar.gz linux-eb58460ff77e7bb9333b7e66ca91f1698729606e.tar.bz2 linux-eb58460ff77e7bb9333b7e66ca91f1698729606e.zip | |
ocfs2: update seq_file index in ocfs2_dlm_seq_next
commit 914eec5e980171bc128e7e24f7a22aa1d803570e upstream.
The following INFO level message was seen:
seq_file: buggy .next function ocfs2_dlm_seq_next [ocfs2] did not
update position index
Fix:
Update *pos (so m->index) to make seq_read_iter happy though the index its
self makes no sense to ocfs2_dlm_seq_next.
Link: https://lkml.kernel.org/r/20241119174500.9198-1-wen.gang.wang@oracle.com
Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Jun Piao <piaojun@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
