Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2956660pxb; Mon, 17 Jan 2022 08:59:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+TMqOe+gwFZMxT0Y+SVE8weMemNlqNkya6y7shdAzAEPmNhjaKscVEO+qRD0l8CgYYd1l X-Received: by 2002:a17:902:680c:b0:149:8222:54b8 with SMTP id h12-20020a170902680c00b00149822254b8mr23610488plk.104.1642438779656; Mon, 17 Jan 2022 08:59:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642438779; cv=none; d=google.com; s=arc-20160816; b=xhyO9dPApqeY6eUcnnTytCR+N+tDwZn2FltNagpEbesqv/DdclNAXIBV0ATt9fdxLn N29Uc1HSYJ+Z8rOtQTSlETN2LDPE4b0G1Hvr8+bgVD26Wrx4TtXw/dVvEAwOmSlyIdMs sK3dY+ye68xV9CWn+yn+PuGov+kyOgQB/Grdm87Ky/+VLDAQXR3/grqCy1eZzoSgYNJz lFwUYLTo1TLTA6ebIaHdCEd0Qki9UMX8Tgu0LrNxsuazS4GnBeDx0B44MQq01WwhOCRj DXUEJNtwtTx32M9qZtXwGxz4chcGCpfPOFLiilGwqJhvDWybTqP7bxzU/flX0hho74nm onqA== 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=seoj0nvdsrLNKeeL37lJcNxYd6FH8z0Ncizadck+kuY=; b=lbeDCW1rquxJhE++/bOCV6HZhs+8uuCCtFubGUvcU2S+AJu5/XBVIRFV5PrfLG2Fa4 59aYdR5gOLC/UI0ooQXKkpb4ngrHXpkOgkyUP9zDl6jlopMj+erB1HyBeo5bRpgYWLjI vtbw6aszIEqOP+Lub6b8iRxEiVnb1kksUJrZ+Q2N7xvL8qqjGjmwO92JgARt0VJ584xv R5qP05m65HdG4HxKwsTb8u6mShhuDmwXLYs6kUHpZQ+5eJHgDPwymknfWBfqvbv/RUyn XuhVDU+hog/7anhQ4Cl7I8HPfAzZ7QRgzG1lPKp4gk4a3n0PcUpOKXl+yIil22m/QkyK y3Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KGPD9gWQ; 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 m16si15307206pfc.160.2022.01.17.08.59.27; Mon, 17 Jan 2022 08:59:39 -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=KGPD9gWQ; 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 S235437AbiAQIEX (ORCPT + 99 others); Mon, 17 Jan 2022 03:04:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235436AbiAQIEW (ORCPT ); Mon, 17 Jan 2022 03:04:22 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 800BCC061574; Mon, 17 Jan 2022 00:04:21 -0800 (PST) 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 4ABEEB80DBE; Mon, 17 Jan 2022 08:04:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BCCFC36AE7; Mon, 17 Jan 2022 08:04:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1642406659; bh=OkVmzhLdmQ8xbnnzbn4B18pc9ZEWw8dpbXqplt56tEg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KGPD9gWQCvAjZhUPrVvrHRDc4Hyx1m6qYZZUJ+aPk1ury9o5D4cdagnAGGTQLsbTC gXfjZUDVn775zTC7phdM9CZfH4ax+XL6KuNIWww4b1Hzs7su/9E2H8Db9dzONosa5U k1Lo74DwI6wt4anrsabPY8iP8oQFE882+2F7grDU= Date: Mon, 17 Jan 2022 09:04:16 +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: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 17, 2022 at 09:03:58AM +0100, Greg Kroah-Hartman wrote: > 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. Ah, nevermind, Linus just took it. thanks, greg k-h