mirror of
https://github.com/torvalds/linux
synced 2026-07-21 09:40:48 +09:00
fs: retire stale comment in fget_task_next()
The routine originally showed up ine9a53aeb5e("file: Implement task_lookup_next_fd_rcu"), afterwards it got renamed and started entering RCU on its own in8fd3395ec9("get rid of ...lookup...fdget_rcu() family"). Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Link: https://patch.msgid.link/20260522142152.1515572-1-mjguzik@gmail.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
This commit is contained in:
committed by
Christian Brauner
parent
5afe734e76
commit
d24576fddf
@@ -1133,7 +1133,6 @@ struct file *fget_task(struct task_struct *task, unsigned int fd)
|
||||
|
||||
struct file *fget_task_next(struct task_struct *task, unsigned int *ret_fd)
|
||||
{
|
||||
/* Must be called with rcu_read_lock held */
|
||||
struct files_struct *files;
|
||||
unsigned int fd = *ret_fd;
|
||||
struct file *file = NULL;
|
||||
|
||||
Reference in New Issue
Block a user