aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux
diff options
context:
space:
mode:
authorJoel Fernandes (Google) <joel@joelfernandes.org>2023-09-03 15:13:24 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-10-04 10:32:20 -0700
commit99eb26d59ce38a9f9ac0d63421deca6073f45086 (patch)
tree6beb12e163f3cb18439943daf9dff28cb294d362 /include/linux
parentmm/mremap: allow moves within the same VMA for stack moves (diff)
downloadwireguard-linux-99eb26d59ce38a9f9ac0d63421deca6073f45086.tar.xz
wireguard-linux-99eb26d59ce38a9f9ac0d63421deca6073f45086.zip
selftests: mm: fix failure case when new remap region was not found
When a valid remap region could not be found, the source mapping is not cleaned up. Fix the goto statement such that the clean up happens. Link: https://lkml.kernel.org/r/20230903151328.2981432-4-joel@joelfernandes.org Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> Reviewed-by: Lorenzo Stoakes <lstoakes@gmail.com> Cc: Kalesh Singh <kaleshsingh@google.com> Cc: "Kirill A. Shutemov" <kirill@shutemov.name> Cc: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Lokesh Gidra <lokeshgidra@google.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Paul E. McKenney <paulmck@kernel.org> Cc: Shuah Khan <shuah@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions