Commit 65bea995 authored by Fedor Pchelkin's avatar Fedor Pchelkin Committed by Christian Brauner
Browse files

signalfd: drop an obsolete comment



Commit fbe38120 ("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: default avatarFedor Pchelkin <pchelkin@ispras.ru>
Link: https://lore.kernel.org/r/20240520090819.76342-2-pchelkin@ispras.ru


Reviewed-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent f826bc9d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);