fs/proc/task_nommu.c: change maps_open() to use __seq_open_private()
authorOleg Nesterov <oleg@redhat.com>
Thu, 9 Oct 2014 22:25:45 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:49 +0000 (22:25 -0400)
commitce34fddb5bafb424a4aaa9f403feb7dbe776c7d1
treed2931fcee82bea2a4e24b5478c7dbc7cbee96ef2
parent557c2d8a73dc078817ba6949697ceb8c0f3f7362
fs/proc/task_nommu.c: change maps_open() to use __seq_open_private()

Cleanup and preparation. maps_open() can use __seq_open_private()
like proc_maps_open() does.

[akpm@linux-foundation.org: deuglify]
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_nommu.c