Re: [BUG] lseek on /proc/meminfo is broken in 4.19.59 maybe due to commit 1f4aace60b0e ("fs/seq_file.c: simplify seq_file iteration code and interface")

2019-08-01 Thread Sergei Turchanov
Hello! Yes, your patch fixed this bug. Thank you very much! With best regards, Sergei. On 01.08.2019 19:14, NeilBrown wrote: On Thu, Aug 01 2019, Sergei Turchanov wrote: Hello! [ As suggested in previous discussion this behavior may be caused by your commit 1f4aace60b0e

Re: [BUG] lseek on /proc/meminfo is broken in 4.19.59 maybe due to commit 1f4aace60b0e ("fs/seq_file.c: simplify seq_file iteration code and interface")

2019-08-01 Thread NeilBrown
On Thu, Aug 01 2019, Sergei Turchanov wrote: > Hello! > > [ > As suggested in previous discussion this behavior may be caused by your > commit 1f4aace60b0e ("fs/seq_file.c: simplify seq_file iteration code and > interface") > ] Yes I think I can see what happened. removing: -

[BUG] lseek on /proc/meminfo is broken in 4.19.59 maybe due to commit 1f4aace60b0e ("fs/seq_file.c: simplify seq_file iteration code and interface")

2019-08-01 Thread Sergei Turchanov
Hello! [ As suggested in previous discussion this behavior may be caused by your commit 1f4aace60b0e ("fs/seq_file.c: simplify seq_file iteration code and interface") ] Original bug report: Seeking (to an offset within file size) in /proc/meminfo is broken in 4.19.59. It does seek to a