Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2325214lqo; Mon, 20 May 2024 02:10:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW5CwCzq6T06vjbhg/DPfIrPsLY2JH+QNNV3Ov4II1pm1Y0fm+fLgXytHTqOI5e09smYjm4hmHvsh2IV9ip38mELRoosxczXgr15jYOeA== X-Google-Smtp-Source: AGHT+IG+khGJJUR1KPHqzyIayk+Sy1qA29y5jIis+DFUsOjnrq5f2AbluExSXQs9/UqjryfxPT1Q X-Received: by 2002:ac8:5d12:0:b0:43a:bcd9:1425 with SMTP id d75a77b69052e-43dfdb81cbbmr341328611cf.49.1716196232114; Mon, 20 May 2024 02:10:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716196232; cv=pass; d=google.com; s=arc-20160816; b=wzuqMKdbMbaHjWYd1cD1Ptk6eNN2vhuzb2gih1+0iZPMbMZdgKOKpX0npk6XEqfY+y 8Ieh2aq8AmfZbrjXoaintuVqlq887o6fH/tGkFmci7mDgFB0RgvZhyleqremWUKkk/bb /pWoNyESloNlepHsQeWMCI/I/QvxY6rEA529JNHH0Yhh8bNBRCHyrCmwtwAXi6U1u6lp fbmFwGB3UCHboVgvTBYZk0Y2nYGCPlnjg/dQf7VjH92g3WdRshn2dDjf8NfGXM8o6xCF 7qstPlI+zXrQfiyiZzMsOlcu4nhLGJmabl+GRf9bfZI2oVaiwfxqU1+eko3k9Hf6Erx+ U19Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=cIAuQ05HL8dT+YuU57b7ICw2uMbJEDIVKdXTJG1CATY=; fh=IimdnF2v+ERSLMQ7CYQoO7uZmE5Zq3Rg9N52VRAL5rQ=; b=hTJASqzul5JbFuXc9IHIgqJfRmdoyfOrk8gt2tIdCMMNtdrFiUX09KueZvIgC6MJsC wDmot6kaKw2h+8+VHBbPG0p2v10VTflm92q+rThSNE6Mz5eZNbwQdiOGzrJqH/WxD0Ym 4cp1Ae8S2GDMsHjH3VpKiIxbvL5rfgNuAtj5pCE2e7ELIjxxPaIewMl6LUr22fZXlg13 54fPek+Rn+PjzRLNM+06i6l/ezpAKB+FS5XmxT+prbuBGq28TL+xomhGTkBgLghvVUVa EIYWSoSvWjHVShfqeV5z5eo/sip+wk3IpCvYKEKJc5cVY2yeTLc3OCPMUGrWOrtg7exv jGng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ispras.ru header.s=default header.b=tltHW9Et; arc=pass (i=1 spf=pass spfdomain=ispras.ru dkim=pass dkdomain=ispras.ru dmarc=pass fromdomain=ispras.ru); spf=pass (google.com: domain of linux-kernel+bounces-183520-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183520-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ispras.ru Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43e2ccb5b33si140812351cf.571.2024.05.20.02.10.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 02:10:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183520-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ispras.ru header.s=default header.b=tltHW9Et; arc=pass (i=1 spf=pass spfdomain=ispras.ru dkim=pass dkdomain=ispras.ru dmarc=pass fromdomain=ispras.ru); spf=pass (google.com: domain of linux-kernel+bounces-183520-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183520-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ispras.ru Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D41191C20323 for ; Mon, 20 May 2024 09:10:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA2E421106; Mon, 20 May 2024 09:10:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ispras.ru header.i=@ispras.ru header.b="tltHW9Et" Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E67B817582; Mon, 20 May 2024 09:10:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=83.149.199.84 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716196214; cv=none; b=eIUgVAzOcqhi1fGXDurskFaFdU2Pgdr3I3xF40FoBNV4d7A9Qz5RErJggpSFt15u04J3AviorvNrXaTMECvHFyoP700QrUwPNnQDjKlmvLXCHD3uRDa/lrjRkydrjBrkiX+rblgOGs9chATjMOjS11/PM9o+SOsTM4r/RDBRJIg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716196214; c=relaxed/simple; bh=QMnAxaPzlL4eiJg04ZbAkcZo0hqXo9HoK8/+LMpK6qg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=eCkpl7MprGYdY/lojSNSshA2+jppud95xjLYt62agdVd4IYBSC1DqUTYgYaFFcrzts0A+ORIWOhSBW9C2ayI/Qfdq24vK1W4KUGYCqayU6lIKeQ4fPMcNQqvrXE1C+rOfjLj+oSjR8jP7sjmRW4KSRBLHxCkfXyPw7ZvADpU7rA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ispras.ru; spf=pass smtp.mailfrom=ispras.ru; dkim=pass (1024-bit key) header.d=ispras.ru header.i=@ispras.ru header.b=tltHW9Et; arc=none smtp.client-ip=83.149.199.84 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ispras.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ispras.ru Received: from localhost.localdomain (unknown [5.228.116.47]) by mail.ispras.ru (Postfix) with ESMTPSA id 0AD8C40205B8; Mon, 20 May 2024 09:10:03 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru 0AD8C40205B8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ispras.ru; s=default; t=1716196203; bh=cIAuQ05HL8dT+YuU57b7ICw2uMbJEDIVKdXTJG1CATY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tltHW9EtPDxPvt24ND6x0Rzcl8xX/NKIxbyf05UH5YVZKO+rFby8gSmx+VlIVeHtI wnk6E5Lauv0HPtGmz51Xt7sOfP1XLptCOKCau34id8oSdvd/v7ji20VlYt3iwF4Gje Y4YZHZJhpqzujxD3BXypeTr4fxJNRGNhkDSxyy/I= From: Fedor Pchelkin To: Jens Axboe , Christian Brauner Cc: Fedor Pchelkin , Alexander Viro , Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Khoroshilov , lvc-project@linuxtesting.org Subject: [PATCH 2/2] signalfd: drop an obsolete comment Date: Mon, 20 May 2024 12:08:19 +0300 Message-Id: <20240520090819.76342-2-pchelkin@ispras.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240520090819.76342-1-pchelkin@ispras.ru> References: <20240520090819.76342-1-pchelkin@ispras.ru> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- fs/signalfd.c | 4 ---- 1 file changed, 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); -- 2.39.2