summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2017-11-01 01:15:30 +0300
committerEric W. Biederman <ebiederm@xmission.com>2017-11-01 01:23:13 +0300
commit3fda0e737e906ce73220b20c27e7f792d0aac6a8 (patch)
treeb6fb2ec20b3028ad70578aa3b73a1a52d3e3daf5 /drivers/crypto
parentece66133979b211324cc6aff9285889b425243d2 (diff)
downloadlinux-3fda0e737e906ce73220b20c27e7f792d0aac6a8.tar.xz
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>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions