Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp359377rdb; Tue, 19 Dec 2023 21:30:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1QLApy1lkm/X7Eu38Ve4celpKnKlcE/4kJYOm9QnpHzBttP7/Rv4US9HNks4iM0DHx489 X-Received: by 2002:a05:6830:615:b0:6d9:f334:f886 with SMTP id w21-20020a056830061500b006d9f334f886mr17909562oti.18.1703050220483; Tue, 19 Dec 2023 21:30:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703050220; cv=none; d=google.com; s=arc-20160816; b=zKN1Mwc426wsse6RbXLe64Q/bkWqXsRv+D5uO4gUNfWcKpSSIUwysJSKSS9teCXFWO Qtj7Wl7kJb+XiQzoUqhdIkc6AnOnf738pLQjFLpxNPN2+k2qDtyvcs+QknJpbXWZZJnJ Ww+BE/FofZ+6y66dEzFlzgyls6UAOMA9W97sZ6gP4XFalYeEf4DcBsSC3HD82h215wms WqHUuOuK+WN/AlRmDEork8o9EuKiczwI8QWahPJQtcbFvcwo70G08rmKZhTdP2sGNreM F2qlpsPE3F3brUdO53Vqxt6uBDr2Rk2NXaM9s32f6qI/VMG34xvZx5C74mM+hPKFUaLS Trww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=8+pSMi90iMJbp8SNVldNRXoVmhwt4bobR2N1xwtpgos=; fh=sqbB4nNllZoEouCmqluAClyFoqt5QDxZu6Q+oKpNPUE=; b=P742L2Yk1pHrFWvvmOKaXiXiPd9MWyAcJGXLZ6ehaGQKI/WIHQEaAh5Anxwumu2J7+ yxjKwtVW4cVVfqcrrhpAshbob2Ta4fr8VEPkCCDpfF3mopr7fYgeSdYNQbwXo3x2ldgm YsU7+EfzuryL/kfSyINxWE4JAw87cOTowGZuDfEMGB0Ax+mP11bOytO/x2hYbyHbF1Ad 5BbiGCpN0eKgM0rBC6W66ihKiCgtwQhNkrzFsuWy7DJucjogjvPrwkctPa5brCZdynNu 0xaKD+PtEmpfLvWywEMzUjSFJD6udEdTQQ85/7F5pCkRt7b3fi0DXBwAGxXpzpr1I5x+ cbfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=MduyeqHD; spf=pass (google.com: domain of linux-nfs+bounces-714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i6-20020a636d06000000b005cd918843bcsi5260028pgc.424.2023.12.19.21.30.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 21:30:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=MduyeqHD; spf=pass (google.com: domain of linux-nfs+bounces-714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E90D928868A for ; Wed, 20 Dec 2023 05:30:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87251156E2; Wed, 20 Dec 2023 05:30:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linux.org.uk header.i=@linux.org.uk header.b="MduyeqHD" X-Original-To: linux-nfs@vger.kernel.org Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [62.89.141.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F7BC156DD; Wed, 20 Dec 2023 05:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zeniv.linux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ftp.linux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=8+pSMi90iMJbp8SNVldNRXoVmhwt4bobR2N1xwtpgos=; b=MduyeqHDXdk4CAFlDgc+yfIntB nYG6P715r5ZP0SI04laBhd1qm8IjbJvwsMAnbkgEcl60cobnMDMkjWDXKfST2hgXBAAWijYZYQ0Zg VAvuf880456lb5qkXBSlKItfQIW+h7MhkzZdjSKcau2LqrxOt+PBZG4zQVG+ruFdKMmo5R/vpscwN RXm95elbaDgnLQHFaXl7OnX5wQGUFTpJ3mhsgJgaAysU1/MYjX10JWxHuSU0rn/4zh/OK5L1Wr3lg kr9nJ/RZDC8/biOPNQThFQL6c5A7VceVIaSC1YKSTLUvQhvyarxHY0GPWsKpJSoNTXyHdq1IJHBfg wQvXVlPA==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1rFp9p-00HJWS-14; Wed, 20 Dec 2023 05:30:13 +0000 Date: Wed, 20 Dec 2023 05:30:13 +0000 From: Al Viro To: linux-fsdevel@vger.kernel.org Cc: linux-nfs@vger.kernel.org Subject: [PATCH 18/22] nfsd: kill stale comment about simple_fill_super() requirements Message-ID: <20231220053013.GQ1674809@ZenIV> References: <20231220051348.GY1674809@ZenIV> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231220051348.GY1674809@ZenIV> Sender: Al Viro That went into the tree back in 2005; the comment used to be true for predecessor of simple_fill_super() that happened to live in nfsd; that one didn't take care to skip the array entries with NULL ->name, so it could not tolerate any gaps. That had been fixed in 2003 when nfsd_fill_super() had been abstracted into simple_fill_super(); if Neil's patch lived out of tree during that time, he probably replaced the name of function when rebasing it and didn't notice that restriction in question was no longer there. Signed-off-by: Al Viro --- fs/nfsd/nfsctl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 3e15b72f421d..26a25e40c451 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -48,10 +48,6 @@ enum { NFSD_MaxBlkSize, NFSD_MaxConnections, NFSD_Filecache, - /* - * The below MUST come last. Otherwise we leave a hole in nfsd_files[] - * with !CONFIG_NFSD_V4 and simple_fill_super() goes oops - */ #ifdef CONFIG_NFSD_V4 NFSD_Leasetime, NFSD_Gracetime, -- 2.39.2