shmem: Convert shmem_free_swap to XArray
authorMatthew Wilcox <willy@infradead.org>
Mon, 4 Dec 2017 08:13:54 +0000 (03:13 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:40 +0000 (10:46 -0400)
commitc121d3bb717ee932caf031c6a7923547f7f83163
tree507bb4c1860a43c73b5b7d383a797c77c3b9c3ed
parent7b8d046fba91d62beb8a8f78244aaa3c23a60cdd
shmem: Convert shmem_free_swap to XArray

Since we are conditionally storing NULL in the XArray, we do not need
to allocate memory and the GFP flags will be unused.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
mm/shmem.c