diff options
author | Fedor Pchelkin <pchelkin@ispras.ru> | 2024-05-20 11:08:19 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-05-24 13:34:07 +0200 |
commit | 65bea9953715b19371164a8bec4f74fdd22c9e5a (patch) | |
tree | 616f2aee71427a22a4c0b17b66dfc36f54108c97 /fs/signalfd.c | |
parent | signalfd: fix error return code (diff) | |
download | linux-65bea9953715b19371164a8bec4f74fdd22c9e5a.tar.xz linux-65bea9953715b19371164a8bec4f74fdd22c9e5a.zip |
signalfd: drop an obsolete comment
Commit fbe38120eb1d ("signalfd: convert to ->read_iter()") removed the
call to anon_inode_getfd() by splitting fd setup into two parts. Drop the
comment referencing the internal details of that function.
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Link: https://lore.kernel.org/r/20240520090819.76342-2-pchelkin@ispras.ru
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | fs/signalfd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/signalfd.c b/fs/signalfd.c index 65fe5eed0be4..ec7b2da2477a 100644 --- a/fs/signalfd.c +++ b/fs/signalfd.c @@ -286,10 +286,6 @@ static int do_signalfd4(int ufd, sigset_t *mask, int flags) } file->f_mode |= FMODE_NOWAIT; - /* - * When we call this, the initialization must be complete, since - * anon_inode_getfd() will install the fd. - */ fd_install(ufd, file); } else { struct fd f = fdget(ufd); |