diff options
author | 2022-04-28 23:16:07 -0700 | |
---|---|---|
committer | 2022-04-28 23:16:07 -0700 | |
commit | cb1c37b1c65d9e5450af2ea6ec8916c5cd23a2e7 (patch) | |
tree | 0a005ddc30a0aef0cced7785965d3be792f58427 /fs/dax.c | |
parent | mm/migration: remove unneeded local variable page_lru (diff) | |
download | wireguard-linux-cb1c37b1c65d9e5450af2ea6ec8916c5cd23a2e7.tar.xz wireguard-linux-cb1c37b1c65d9e5450af2ea6ec8916c5cd23a2e7.zip |
mm/migration: use helper function vma_lookup() in add_page_for_migration
We could use helper function vma_lookup() to lookup the needed vma to
simplify the code.
Link: https://lkml.kernel.org/r/20220318111709.60311-6-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: "Huang, Ying" <ying.huang@intel.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions