]> 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>
Thu, 11 Aug 2022 21:49:17 +0000 (17:49 -0400)
commit1be243094cd007eb790aa23a8be8415742c9821f
treeec3ee07702e52d65076251e1e7ab70ed255c106f
parent5b51494fbb0baf8236661e2bc36f4e1d35d9dbaa
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