proc/maps: replace proc_maps_private->pid with "struct inode *inode"
authorOleg Nesterov <oleg@redhat.com>
Thu, 9 Oct 2014 22:25:51 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:50 +0000 (22:25 -0400)
commit2c03376d2db005869b1d4449097d51c96196529e
treecb372cc5bc0b4cb9813a5e70df3f6d5c2fa040b6
parent47fecca15c0944924423390fe21b956eea57da30
proc/maps: replace proc_maps_private->pid with "struct inode *inode"

m_start() can use get_proc_task() instead, and "struct inode *"
provides more potentially useful info, see the next changes.

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