ipc/shm: use the vma iterator for munmap calls
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 20 Jan 2023 16:26:16 +0000 (11:26 -0500)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 00:51:32 +0000 (16:51 -0800)
commitd60beb1f698a429825ea2c463ee9e3dc3b1a79b7
treea2b55fa84e745da3ff5b242b2dd40a90b7730684
parentf2ebfe43ba6c845e70b6acbabd6c69ab74b3c52e
ipc/shm: use the vma iterator for munmap calls

Pass through the vma iterator to do_vmi_munmap() to handle the iterator
state internally

Link: https://lkml.kernel.org/r/20230120162650.984577-16-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ipc/shm.c