diff options
| author | Miaohe Lin <[email protected]> | 2022-03-22 21:42:41 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-03-22 22:57:05 +0000 |
| commit | 0e6799db9672dcdc995b0f4bfa5cde4420868c93 (patch) | |
| tree | be4e04f5269f4ba0ac104464f6ce9db376a0f0ed /mm/sparse.c | |
| parent | mm/mmap: remove obsolete comment in ksys_mmap_pgoff (diff) | |
| download | kernel-0e6799db9672dcdc995b0f4bfa5cde4420868c93.tar.gz kernel-0e6799db9672dcdc995b0f4bfa5cde4420868c93.zip | |
mm/mremap:: use vma_lookup() instead of find_vma()
Using vma_lookup() verifies the address is contained in the found vma.
This results in easier to read code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions
