Skip to content

Commit 65bea99

Browse files
pchelkin91brauner
authored andcommitted
signalfd: drop an obsolete comment
Commit fbe3812 ("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]>
1 parent f826bc9 commit 65bea99

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

fs/signalfd.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,6 @@ static int do_signalfd4(int ufd, sigset_t *mask, int flags)
286286
}
287287
file->f_mode |= FMODE_NOWAIT;
288288

289-
/*
290-
* When we call this, the initialization must be complete, since
291-
* anon_inode_getfd() will install the fd.
292-
*/
293289
fd_install(ufd, file);
294290
} else {
295291
struct fd f = fdget(ufd);

0 commit comments

Comments
 (0)