summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@Oracle.com>2023-01-20 11:26:43 -0500
committerAndrew Morton <akpm@linux-foundation.org>2023-02-09 16:51:37 -0800
commit68cefec539206ea691409f0d1e944ed343f23f04 (patch)
treef68bbed9a7cd09f78def84a0225dcd7349b32c0e /fs
parent9303d3e1c3f8d8863d561a070489cf44ce5e4103 (diff)
downloadlinux-stable-68cefec539206ea691409f0d1e944ed343f23f04.tar.gz
linux-stable-68cefec539206ea691409f0d1e944ed343f23f04.tar.bz2
linux-stable-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')
0 files changed, 0 insertions, 0 deletions