]> Git Repo - linux.git/commitdiff
signalfd: drop an obsolete comment
authorFedor Pchelkin <[email protected]>
Mon, 20 May 2024 09:08:19 +0000 (12:08 +0300)
committerChristian Brauner <[email protected]>
Fri, 24 May 2024 11:34:07 +0000 (13:34 +0200)
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
fs/signalfd.c

index 65fe5eed0be4cd30f239d0e8f9451a090779495b..ec7b2da2477a41c3b7ac04bbf85835febafd08f1 100644 (file)
@@ -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);
This page took 0.055343 seconds and 4 git commands to generate.