]> git.baikalelectronics.ru Git - kernel.git/commit
help_next should increase position index
authorVasily Averin <vvs@virtuozzo.com>
Fri, 24 Jan 2020 06:10:47 +0000 (09:10 +0300)
committerMike Marshall <hubcap@omnibond.com>
Tue, 4 Feb 2020 20:22:04 +0000 (15:22 -0500)
commit0a1f53a407e11685aea87069b6157c81a1ff369e
treefef688c538de1542fc01a74b9daf88605bbb3afb
parent5e70d806333e1f2313878ff55337b4e1f608e3fc
help_next should increase position index

if seq_file .next fuction does not change position index,
read after some lseek can generate unexpected output.

https://bugzilla.kernel.org/show_bug.cgi?id=206283
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/orangefs-debugfs.c