diff options
author | 2023-01-20 11:26:43 -0500 | |
---|---|---|
committer | 2023-02-09 16:51:37 -0800 | |
commit | 68cefec539206ea691409f0d1e944ed343f23f04 (patch) | |
tree | f68bbed9a7cd09f78def84a0225dcd7349b32c0e /fs/exec.c | |
parent | mm/mmap: use vma_prepare() and vma_complete() in vma_expand() (diff) | |
download | wireguard-linux-68cefec539206ea691409f0d1e944ed343f23f04.tar.xz wireguard-linux-68cefec539206ea691409f0d1e944ed343f23f04.zip |
mm/mmap: introduce init_vma_prep() and init_multi_vma_prep()
Add init_vma_prep() and init_multi_vma_prep() to set up the struct
vma_prepare. This is to abstract the locking when adjusting the VMAs.
Also change __vma_adjust() variable remove_next int in favour of a pointer
to the VMA to remove. Rename next_next to remove2 since this better
reflects its use.
Link: https://lkml.kernel.org/r/20230120162650.984577-43-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions