diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2023-07-26 11:21:35 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-07-26 14:56:07 +0200 |
commit | 05f26f86f4a1f31d5ed2015ac1c89ea9da1d2bb7 (patch) | |
tree | 45fe87db01c99be821bf9fe2c8d3764a63d119f2 /fs/ecryptfs | |
parent | 0d5a4f8f775ff990142cdc810a84eae078589d27 (diff) |
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: Zhen Lei <thunder.leizhen@huawei.com>
Message-Id: <20230726032135.933-1-thunder.leizhen@huaweicloud.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions