From nobody Sun May 24 19:33:17 2026 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A6724534BB for ; Fri, 22 May 2026 14:22:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779459730; cv=none; b=mg3R4l8BcuMA+pSZqLxHrCUm0w/Md8dYR3dj6M+/wRM/YavBaucd4biJ/cTfgdnPo+t/0rve4YeZAH9IP6M1pBTrPzMiSaGbPo68FZX06XUgCRICzEN3HdP5XfGgwUWstNvpNHj4YClhbgxiByS14x4kFHzXA3hoCHLkRHMbv/0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779459730; c=relaxed/simple; bh=4Nx7Hj5DOPPtTI9rHRcSLbxZrHGdi9VRhEeKtNfQvW0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sB21rEiP8RWDuhoztuOLLwh+rqLfCSJmTwVMl4KNWWx7Fwq3eog6qSwzNDVMWwryiQ5cZIYLrq/VQVQNcmau86xiRT4aXJfvVn4nd+hRl/X9ohDYRrSw+DWOp4awbVNiGnrd8+0zZ1YkcBLJFyDqp2x7R2wtFywosR4cxwNd1Gs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VeCAM9IJ; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VeCAM9IJ" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-49041e84237so7923535e9.1 for ; Fri, 22 May 2026 07:22:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779459721; x=1780064521; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cLkfG+pkjQSORlh3x9Pq4wFaVOyHcz6e1039orz8fG8=; b=VeCAM9IJpHBSJ9fV6dL0eLvIF+TW7XRHX9hpFTda9Fykau6E49ULE8C/CeWWlIvtMC BDFqEMd44TglMUGEEsLTJkwory5b6f84u+DA+/7h88T6xsnm0PFdnE3oX6xgbqwdsJlm jczErLLOIv6lXXv/h/ir0Je1kcy7nzVEKotA+9gaaOVq+Z7pGEIbUR/4dw75Dgyx12Do p4ZdXyk2lqKObigiUuo38VztVz5rLTvNeBGPXROUAfMb4/CEk/bUqfwZn/muYX8Bc/ao 3v421dHBJeIwWrlEZSbQhsRQjnpgibtgoZrZof0WnLvOnnDbAE4Tt8HglZjtvvchPQzr h20A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779459721; x=1780064521; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cLkfG+pkjQSORlh3x9Pq4wFaVOyHcz6e1039orz8fG8=; b=k13M44afenG12rljfJPUS/dVIahhL8AciwwKii2jQrmyDEfWSzwPRCoRE61yORKcGX vXScgPSRhHp5kW30+RwLtfUf/ZKNN2nSUjfw1HeM0/UJRuiecMG36JM2vMELBPqOVm7v 8D4Z0m+mRdXYiYZNzqK8oj5Mffro7aqoVL74t5vNi/3j5KKC2wCY25F16/wHtlCxUayG on3zTzs4EY+XwwFdT1NQE62S/vNfraQOOuieuhdtFgpxaGRuvRH5M7xIKlZG4I3X9EH8 qMatYbaq5OSdITtuNo4Tuqhd3wOvJ+gW8mopBBoigrrKoI24d9eZ34hrQKP6WZlMSI3x oZBw== X-Forwarded-Encrypted: i=1; AFNElJ+eqseeCh4ocKT/Wj0oN4Te1mlc+rMx8kMsYqxjf60xu7DQnfix1jf1znBEUCpJEOM7mvAOh7OsmwpTXkw=@vger.kernel.org X-Gm-Message-State: AOJu0YxPCB0MYz2dKSE6jfuKssnlRQzROxhj3FQ9O9WxBHpbjlqL4/fc Z4PSZC1o51Zh/r+E2voQSdoNqBN9tsvazusMhBcFFXJ78/PHvIkImqhS X-Gm-Gg: Acq92OFcalppfPVWbZk8abgtb6Rq9hLloA/lj5xOk+TgYc1bU1dlpT9TdmJL9lI+2v2 5CQV7pIUxEJiOrOmnyF00f//8IxDIflJL8nptWxCu8PVtcKMvht+2hDTKh5HN8V4MFSVHAYR8li gbF5ARY7EqAOpMXSTxjBVrg9PHzMBzt1BCEpGmkp4sRPlJVXmufsjbVrTP2j7gw5M63EKQQKDjK JSaWArlr/a04gOHXO3oDvWoUpSfcnKlsbkTVMEJKOWM+c329LpqBwvX17M10DTtSPEQjr57cubU l9RX9p8nh4nQH98xjUXGFteHwwxUXOw9keWzy7EtfQCNqy3Ce5xIx9MJOOg/I4HMBMbHsIualA+ xVbB9sU+52wnFJAj6UoVhPGge0wbvukpqjZ1dKpOnghGBgHMoGTwyth7l+szrvoOLbah8BzQGOL 0IrdnO+B3JuG7RlrcKkVfjBLqx7OY4kRcbJiVXW1Qy4A3IjOblWXsIHYCM5LjrYLJaR59WSTvjt w== X-Received: by 2002:a05:600d:6409:10b0:48e:6be6:168d with SMTP id 5b1f17b1804b1-49035f35beamr81313655e9.8.1779459720455; Fri, 22 May 2026 07:22:00 -0700 (PDT) Received: from f.. (cst-prg-92-135.cust.vodafone.cz. [46.135.92.135]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45eb6d70c51sm4698407f8f.36.2026.05.22.07.21.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2026 07:21:59 -0700 (PDT) From: Mateusz Guzik To: brauner@kernel.org Cc: viro@zeniv.linux.org.uk, jack@suse.cz, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Mateusz Guzik Subject: [PATCH] fs: retire stale comment in fget_task_next() Date: Fri, 22 May 2026 16:21:52 +0200 Message-ID: <20260522142152.1515572-1-mjguzik@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The routine originally showed up in e9a53aeb5e0a838f ("file: Implement task_lookup_next_fd_rcu"), afterwards it got renamed and started entering RCU on its own in 8fd3395ec9051a52 ("get rid of ...lookup...fdget_rcu() family"). Signed-off-by: Mateusz Guzik --- fs/file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/file.c b/fs/file.c index e5c75b22e0c7..628ca07dc4b1 100644 --- a/fs/file.c +++ b/fs/file.c @@ -1133,7 +1133,6 @@ struct file *fget_task(struct task_struct *task, unsi= gned int fd) =20 struct file *fget_task_next(struct task_struct *task, unsigned int *ret_fd) { - /* Must be called with rcu_read_lock held */ struct files_struct *files; unsigned int fd =3D *ret_fd; struct file *file =3D NULL; --=20 2.48.1