diff options
author | Deming Wang <wangdeming@inspur.com> | 2022-10-07 06:03:45 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-11-09 04:37:13 +0300 |
commit | 97955f6941f0e7dea64dea22711382daf1db2f76 (patch) | |
tree | 5b6dbcd5e9030c18779ffabd69bc0052de996968 /mm/memcontrol.c | |
parent | 6fe7d712d798e9312e3dff69ec3f5f62f4d03a04 (diff) | |
download | linux-97955f6941f0e7dea64dea22711382daf1db2f76.tar.xz |
mm/mincore.c: use vma_lookup() instead of find_vma()
Using vma_lookup() verifies the start address is contained in the found
vma. This results in easier to read the code.
Link: https://lkml.kernel.org/r/20221007030345.5029-1-wangdeming@inspur.com
Signed-off-by: Deming Wang <wangdeming@inspur.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions