commit | b2412b7fa7a3816fa8633dc2ff19f1a90aabe423 | [log] [tgz] |
---|---|---|
author | Huang Shijie <shijie8@gmail.com> | Mon Jul 30 14:42:30 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Jul 30 17:25:20 2012 -0700 |
tree | 5059c916b993726b3b208859f35c8b59761f2656 | |
parent | bc452b4b65bd589083a7a7ba4f14f85dfc8454fa [diff] |
fork: use vma_pages() to simplify the code The current code can be replaced by vma_pages(). So use it to simplify the code. [akpm@linux-foundation.org: initialise `len' at its definition site] Signed-off-by: Huang Shijie <shijie8@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>