diff options
author | 2020-12-14 19:05:58 -0800 | |
---|---|---|
committer | 2020-12-15 12:13:39 -0800 | |
commit | d8aa24e04fb2a74dac0f7709da36950da5502be1 (patch) | |
tree | 28687f7cee3ec27a8d74306d2c4e02341748c03f /mm/vmscan.c | |
parent | mm: handle zone device pages in release_pages() (diff) | |
download | wireguard-linux-d8aa24e04fb2a74dac0f7709da36950da5502be1.tar.xz wireguard-linux-d8aa24e04fb2a74dac0f7709da36950da5502be1.zip |
mm/swapfile.c: use helper function swap_count() in add_swap_count_continuation()
Commit 570a335b8e22 ("swap_info: swap count continuations") introduced the
func add_swap_count_continuation() but forgot to use the helper function
swap_count() introduced by commit 355cfa73ddff ("mm: modify swap_map and
add SWAP_HAS_CACHE flag").
Link: https://lkml.kernel.org/r/20201009134306.18033-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions