]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/test_hmm: Use vma_lookup() in dmirror_migrate()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 8 Apr 2021 20:20:21 +0000 (16:20 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 15 Apr 2021 14:37:32 +0000 (10:37 -0400)
commit7644a46b611ca4a27e96c23b04bd4d457f72c8eb
tree8793b539e4daac231a48868f89538b74e70f7980
parent752a479b640d4b3c8a7cfedadd39173c87615885
lib/test_hmm: Use vma_lookup() in dmirror_migrate()

vma_lookup() will only return the vma which contains the address and
will not return the next vma.  This allows the code to easier to
understand.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/test_hmm.c