]> git.ipfire.org Git - thirdparty/linux.git/commit
eventpoll: rename attach_epitem() to ep_attach_file()
authorChristian Brauner <brauner@kernel.org>
Fri, 24 Apr 2026 13:46:39 +0000 (15:46 +0200)
committerChristian Brauner <brauner@kernel.org>
Tue, 28 Apr 2026 15:27:28 +0000 (17:27 +0200)
commit6a3f1a494bc91d7976cf0d2b200bb3f1a22eef64
tree38ed1500bb02c19b20159b97fbf0b7a98337b113
parentc17eb7a5285a6d77c16397ad3b6223aca7a87d56
eventpoll: rename attach_epitem() to ep_attach_file()

ep_remove_file() tears down the f_ep linkage that attach_epitem()
establishes, so the pair should look like one. Rename to
ep_attach_file() for the "ep_*" + subject symmetry and to match the
naming used elsewhere in the file (ep_insert, ep_modify, ep_remove,
ep_remove_file, ep_remove_epi, ep_unregister_pollwait).

Pure rename; no functional change.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Link: https://patch.msgid.link/20260424-work-epoll-rework-v1-8-249ed00a20f3@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/eventpoll.c