mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
mm: Convert delete_from_swap_cache to XArray
Both callers of __delete_from_swap_cache have the swp_entry_t already, so pass that in to make constructing the XA_STATE easier. Signed-off-by: Matthew Wilcox <willy@infradead.org>
This commit is contained in:
parent
8d93b41c09
commit
4e17ec250f
3 changed files with 14 additions and 17 deletions
Loading…
Add table
Add a link
Reference in a new issue