proc: use ppos instead of m->version
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 7 Apr 2020 03:09:14 +0000 (20:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2020 17:43:42 +0000 (10:43 -0700)
commit4781f2c3abddc400cfdb6ed18c2bf655d402efb5
tree8fcda9da05abdf848a00cd423620d22a4d681928
parentc2e88d22e8ea698c183c6c36485c134742b99838
proc: use ppos instead of m->version

The ppos is a private cursor, just like m->version.  Use the canonical
cursor, not a special one.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200317193201.9924-3-adobriyan@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c