]> 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>
Tue, 15 Nov 2022 19:47:59 +0000 (14:47 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 28 Nov 2022 21:01:11 +0000 (16:01 -0500)
commit52c073755c3774a553f6a8ce002a277bc1f8b9d3
tree46930d0a7161f613208208ec7fb5ca60a3003c31
parent7100cb3637f021fdbf055f17440701cb999ea426
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