Commit 8d09db80 authored by Bernd Edlinger's avatar Bernd Edlinger Committed by Eric W. Biederman

mm: docs: Fix a comment in process_vm_rw_core

This removes a duplicate "a" in the comment in process_vm_rw_core.
Signed-off-by: default avatarBernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
parent 2de4e823
...@@ -206,7 +206,7 @@ static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter, ...@@ -206,7 +206,7 @@ static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter,
if (!mm || IS_ERR(mm)) { if (!mm || IS_ERR(mm)) {
rc = IS_ERR(mm) ? PTR_ERR(mm) : -ESRCH; rc = IS_ERR(mm) ? PTR_ERR(mm) : -ESRCH;
/* /*
* Explicitly map EACCES to EPERM as EPERM is a more a * Explicitly map EACCES to EPERM as EPERM is a more
* appropriate error code for process_vw_readv/writev * appropriate error code for process_vw_readv/writev
*/ */
if (rc == -EACCES) if (rc == -EACCES)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment