From: Huang Shijie Date: Mon, 30 Jul 2012 21:42:30 +0000 (-0700) Subject: fork: use vma_pages() to simplify the code X-Git-Tag: v3.6-rc1~41^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2412b7fa7a3816fa8633dc2ff19f1a90aabe423;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed