userns: Simplify insert_extent
Consolidate the code to write to the new mapping at the end of the
function to remove the duplication. Move the increase in the number
of mappings into insert_extent, keeping the logic together.
Just a small increase in readability and maintainability.
Signed-off-by:
"Eric W. Biederman" <ebiederm@xmission.com>
parent
ece66133
Please register or sign in to comment