From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: NeilBrown <neilb@suse.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>,
Andrew Morton <akpm@linux-foundation.org>,
torvalds@linux-foundation.org,
Christian Brauner <christian.brauner@ubuntu.com>,
Anthony Iliopoulos <ailiop@suse.com>,
David Howells <dhowells@redhat.com>,
LKML <linux-kernel@vger.kernel.org>,
linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH - resend] devtmpfs regression fix: reconfigure on each mount
Date: Mon, 17 Jan 2022 09:04:16 +0100 [thread overview]
Message-ID: <YeUjAIWNCLX9OOj9@kroah.com> (raw)
In-Reply-To: <YeUi7rqkC99CODU+@kroah.com>
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 <christian.brauner@ubuntu.com>
> > Signed-off-by: NeilBrown <neilb@suse.de>
> > ---
> > 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
prev parent reply other threads:[~2022-01-17 8:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-13 1:12 [PATCH - regression] devtmpfs: reconfigure on each mount NeilBrown
2021-12-13 12:59 ` Christian Brauner
2021-12-13 20:46 ` Anthony Iliopoulos
2021-12-14 10:12 ` Christian Brauner
2021-12-14 14:06 ` Anthony Iliopoulos
2021-12-14 14:18 ` Christian Brauner
2022-01-16 22:07 ` [PATCH - resend] devtmpfs regression fix: " NeilBrown
2022-01-17 7:47 ` Linus Torvalds
2022-01-17 22:57 ` NeilBrown
2022-01-17 8:03 ` Greg Kroah-Hartman
2022-01-17 8:04 ` Greg Kroah-Hartman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YeUjAIWNCLX9OOj9@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=ailiop@suse.com \
--cc=akpm@linux-foundation.org \
--cc=christian.brauner@ubuntu.com \
--cc=dhowells@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=torvalds@linux-foundation.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).