diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-10-09 15:25:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-09 22:25:49 -0400 |
commit | 27692cd56e2aa6924b49f4361247d707a023484a (patch) | |
tree | 285d080f84f97f4cf46e90522b6121bf9dac84c0 /Documentation/RCU | |
parent | ce34fddb5bafb424a4aaa9f403feb7dbe776c7d1 (diff) | |
download | linux-27692cd56e2aa6924b49f4361247d707a023484a.tar.gz linux-27692cd56e2aa6924b49f4361247d707a023484a.tar.bz2 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 'Documentation/RCU')
0 files changed, 0 insertions, 0 deletions