]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: write-lock VMAs in vma_adjust
authorSuren Baghdasaryan <surenb@google.com>
Sat, 11 Jun 2022 05:17:39 +0000 (22:17 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 4 Jan 2023 20:59:25 +0000 (15:59 -0500)
commit1b102c55c141041568aef126b4e9b3aa9a8bb9ea
treec123d667cdd6cffca95fdb126eef6ede6c6c635c
parent1615cac6fc393965aee08c3a6e4a643724c4294a
mm/mmap: write-lock VMAs in vma_adjust

vma_adjust modifies a VMA and possibly its neighbors. Write-lock them
before making the modifications.

Signed-off-by: Suren Baghdasaryan <surenb@google.com>
mm/mmap.c