]> 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>
Tue, 13 Dec 2022 21:03:40 +0000 (16:03 -0500)
commit7ca936018932aaac27893dc7fe2797fe9b7be83f
tree310dd9c884fc1e8e4514d98f9abcfe3dadd861d0
parent8f27b1321a69e55d6528d2c2ed58f07e154feba2
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