diff options
author | 2023-01-20 11:26:42 -0500 | |
---|---|---|
committer | 2023-02-09 16:51:37 -0800 | |
commit | 9303d3e1c3f8d8863d561a070489cf44ce5e4103 (patch) | |
tree | 8d96b19261c8800a0f625bd0a2eb208183fe1a4c /fs/exec.c | |
parent | mm/mmap: refactor locking out of __vma_adjust() (diff) | |
download | wireguard-linux-9303d3e1c3f8d8863d561a070489cf44ce5e4103.tar.xz wireguard-linux-9303d3e1c3f8d8863d561a070489cf44ce5e4103.zip |
mm/mmap: use vma_prepare() and vma_complete() in vma_expand()
Use the new locking functions for vma_expand(). This reduces code
duplication.
At the same time change VM_BUG_ON() to VM_WARN_ON()
Link: https://lkml.kernel.org/r/20230120162650.984577-42-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