diff options
author | Liam R. Howlett <Liam.Howlett@Oracle.com> | 2023-01-20 19:26:43 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-10 03:51:37 +0300 |
commit | 68cefec539206ea691409f0d1e944ed343f23f04 (patch) | |
tree | f68bbed9a7cd09f78def84a0225dcd7349b32c0e /security/inode.c | |
parent | 9303d3e1c3f8d8863d561a070489cf44ce5e4103 (diff) | |
download | linux-68cefec539206ea691409f0d1e944ed343f23f04.tar.xz |
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 'security/inode.c')
0 files changed, 0 insertions, 0 deletions