]> Git Repo - linux.git/commit
mmap: clean up mmap_region() unrolling
authorLiam R. Howlett <[email protected]>
Fri, 20 Jan 2023 16:26:38 +0000 (11:26 -0500)
committerAndrew Morton <[email protected]>
Fri, 10 Feb 2023 00:51:36 +0000 (16:51 -0800)
commitcc8d1b097de78bd25b7b1ed32018b21cecbf3f6c
treeb6b7cf6fdeddfa5ca6554255c1278a414c1766b3
parentb373037fa9bb374f26bbabc0779fe990d02d33b7
mmap: clean up mmap_region() unrolling

Move logic of unrolling to the error path as apposed to duplicating it
within the function body.  This reduces the potential of missing an update
to one path when making changes.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Cc: Li Zetao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
mm/mmap.c
This page took 0.051312 seconds and 4 git commands to generate.