Skip to content
Snippets Groups Projects
Commit 05f26f86 authored by Zhen Lei's avatar Zhen Lei Committed by Christian Brauner
Browse files

epoll: simplify ep_alloc()


The get_current_user() does not fail, and moving it after kzalloc() can
simplify the code a bit.

Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Message-Id: <20230726032135.933-1-thunder.leizhen@huaweicloud.com>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 0d5a4f8f
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment