]> www.infradead.org Git - users/jedix/linux-maple.git/commit
exec: use VMA iterator instead of linked list
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 14 Apr 2022 06:07:19 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 26 Apr 2022 14:36:39 +0000 (10:36 -0400)
commit855ebbfe2219a88adb379b65f870c4cfd552173a
tree4a36bf22cfc50d2322dc4e0b81356f8eccde8922
parente76b4e9137fa576194ca2c54aa7c30dd57511068
exec: use VMA iterator instead of linked list

Remove a use of the vm_next list by doing the initial lookup with the VMA
iterator and then using it to find the next entry.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
fs/exec.c