]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Don't use __vma_adjust() in __split_vma()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 10 Aug 2022 20:09:15 +0000 (16:09 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 15 Aug 2022 14:46:43 +0000 (10:46 -0400)
commit8aa12caeb09bbe844ae8a3906710a53a32cae4e9
treeec3ee07702e52d65076251e1e7ab70ed255c106f
parentf8c4177e3b38014f5724ad49fd6865dcf5e801e0
mm: Don't use __vma_adjust() in __split_vma()

Use the abstracted locking and maple tree operations.  Since
__split_vma() is the only user of the __vma_adjust() function to use the
insert argument, drop that argument.  Remove the NULL passed through
from fs/exec's shift_arg_pages() at the same time.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
fs/exec.c
include/linux/mm.h
mm/mmap.c