summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-10-10 00:25:47 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-10 04:25:49 +0200
commit27692cd56e2aa6924b49f4361247d707a023484a (patch)
tree285d080f84f97f4cf46e90522b6121bf9dac84c0 /scripts
parentfs/proc/task_nommu.c: change maps_open() to use __seq_open_private() (diff)
downloadlinux-27692cd56e2aa6924b49f4361247d707a023484a.tar.xz
linux-27692cd56e2aa6924b49f4361247d707a023484a.zip
fs/proc/task_nommu.c: shift mm_access() from m_start() to proc_maps_open()
Copy-and-paste the changes from "fs/proc/task_mmu.c: shift mm_access() from m_start() to proc_maps_open()" into task_nommu.c. Change maps_open() to initialize priv->mm using proc_mem_open(), m_start() can rely on atomic_inc_not_zero(mm_users) like task_mmu.c does. [akpm@linux-foundation.org: coding-style fixes] 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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions