Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fork: use vma_pages() to simplify the code
The current code can be replaced by vma_pages(). So use it to simplify the code. [[email protected]: initialise `len' at its definition site] Signed-off-by: Huang Shijie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information