Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2956627pxb; Mon, 17 Jan 2022 08:59:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIarCl3Yvk3VvWYTb6hvMuCNZ6pYNaiHrJ84bZ72aMty2SeDJ13GnVpuEiGfgbKpjZtXHq X-Received: by 2002:a17:902:f68a:b0:14a:3fd3:f318 with SMTP id l10-20020a170902f68a00b0014a3fd3f318mr22847333plg.113.1642438777103; Mon, 17 Jan 2022 08:59:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642438777; cv=none; d=google.com; s=arc-20160816; b=G9u6meDV2DJJHKN5pKQhzZkeU3TwyPmFn3lUn18QxG4BZSaDRIuTb0d4sn7BmP4SgB el9OMm+dKgUqVuGLW6KizNEXPm2lO08ckgxq2A9CFQNtfyj9EiInkfZkvanljl1H4iQJ BZfNVSjJujHDzkbQqgrdi05ao831RCzrBTxi4WbAdhVkfY7+FCzDyTBqt8JIYhaUJQlW tGrqGlxTgqmU2f2ykyRBPLSuqh2HR5kCDvXCqyWconojkw2OAe6qmkp+8pvgNL70Imk2 doZHYA5Jw0g6RjHhTfRNC1aCwVSoVuXgCDS+RXdf7jIFYIHEUiGwfVQn9g6j+x/oFuJR TFBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tdDhcjFJrs6a7sQ/ew96sBci37/SGSW4qN2xK9+X99U=; b=MEQWBIBvj8CqdnlnxhyRm46EdsM0pOvD6fgS4ZrhzFXBHCVBXUU/D0QlmVVPTU9COd czjuqwLflUvyQzRzShuJU/MV8ZCMNlhNL3q9e0B5SpOeqYMQFTTRUCGHq6WAEw4I8Lva NY8M9hzeS/iVpgj7q4RPrI9+PjqLfBxz15Jh/DqSqZ2IVCCfr3gCDxd7vUud4ak+6Lj3 9WRYvnAazpGkfv97oNSHvIQ5mc5m0krPRqbPGOxLDSZvEa4rHcoZyt5lvL2xPjg1Pk1m LkJ9HBskwGskygtMovjaNMYVOo+/U1I9BnOobk/RTuQddS/3T8sDgx1vDKb0Tb+7S5vy HcKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DKK7QiWT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n13si13260682pfd.249.2022.01.17.08.59.23; Mon, 17 Jan 2022 08:59:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DKK7QiWT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235432AbiAQIEF (ORCPT + 99 others); Mon, 17 Jan 2022 03:04:05 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:40036 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235351AbiAQIED (ORCPT ); Mon, 17 Jan 2022 03:04:03 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C7582B80E0D; Mon, 17 Jan 2022 08:04:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D77F9C36AE3; Mon, 17 Jan 2022 08:04:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1642406641; bh=2JCOslLMhe3KWhnV/JB85orDa5Y/1s3SfbLP8qvgU8o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DKK7QiWToJ3FUFgSeozzMB8De9peOLcm+Z0LBxLm0yXi3KittG4jbOjtoD/8Zqrqg mxDMW1UqXAk88r3rjLHZoFDVbavd8F7FNtFrKWdUZfIyXF3mMCrzPFag5yeUY8xAPC sYOZd9iOj4u6QjBOakH/11pCMoF6yL2FJit6H+kA= Date: Mon, 17 Jan 2022 09:03:58 +0100 From: Greg Kroah-Hartman To: NeilBrown Cc: Al Viro , Andrew Morton , torvalds@linux-foundation.org, Christian Brauner , Anthony Iliopoulos , David Howells , LKML , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH - resend] devtmpfs regression fix: reconfigure on each mount Message-ID: References: <163935794678.22433.16837658353666486857@noble.neil.brown.name> <20211213125906.ngqbjsywxwibvcuq@wittgenstein> <20211214101207.6yyp7x7hj2nmrmvi@wittgenstein> <20211214141824.fvmtwvp57pqg7ost@wittgenstein> <164237084692.24166.3761469608708322913@noble.neil.brown.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <164237084692.24166.3761469608708322913@noble.neil.brown.name> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 17, 2022 at 09:07:26AM +1100, NeilBrown wrote: > > Prior to Linux v5.4 devtmpfs used mount_single() which treats the given > mount options as "remount" options, so it updates the configuration of the > single super_block on each mount. > Since that was changed, the mount options used for devtmpfs are ignored. > This is a regression which affect systemd - which mounts devtmpfs > with "-o mode=755,size=4m,nr_inodes=1m". > > This patch restores the "remount" effect by calling reconfigure_single() > > Fixes: d401727ea0d7 ("devtmpfs: don't mix {ramfs,shmem}_fill_super() with mount_single()") > Acked-by: Christian Brauner > Signed-off-by: NeilBrown > --- > drivers/base/devtmpfs.c | 7 +++++++ > fs/super.c | 4 ++-- > include/linux/fs_context.h | 2 ++ > 3 files changed, 11 insertions(+), 2 deletions(-) Sorry, I thought Al was going to take this as the regression came from his tree, I should have picked it up earlier. I'll queue it up after 5.17-rc1 is out. thanks, greg k-h