fs/proc/task_mmu.c: introduce m_next_vma() helper
authorOleg Nesterov <oleg@redhat.com>
Thu, 9 Oct 2014 22:25:39 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:49 +0000 (22:25 -0400)
commitad2a00e4b7e20ab03700b0bb13270b6cee45c6e0
tree4483971e6ae6042a5060a9a360930fbbfc83b65c
parent0c255321f879c36bd74f58f9c7ed235ea6b919cb
fs/proc/task_mmu.c: introduce m_next_vma() helper

Extract the tail_vma/vm_next calculation from m_next() into the new
trivial helper, m_next_vma().

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c