[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <15867.1539791153@warthog.procyon.org.uk>
Date: Wed, 17 Oct 2018 16:45:53 +0100
From: David Howells <dhowells@...hat.com>
To: Alan Jenkins <alan.christopher.jenkins@...il.com>
Cc: dhowells@...hat.com, Al Viro <viro@...IV.linux.org.uk>,
linux-api@...r.kernel.org, torvalds@...ux-foundation.org,
ebiederm@...ssion.com, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, mszeredi@...hat.com
Subject: Re: [PATCH 31/34] vfs: syscall: Add fspick() to select a superblock for reconfiguration [ver #12]
Alan Jenkins <alan.christopher.jenkins@...il.com> wrote:
> I agree. I'm happy to see this is using the same check as do_remount().
>
>
> * change filesystem flags. dir should be a physical root of filesystem.
> * If you've mounted a non-root directory somewhere and want to do remount
> * on it - tough luck.
> */
Are you suggesting that it should only work at the ultimate root of a
superblock and not a bind mount somewhere within?
That's tricky to make work for NFS because s_root is a dummy dentry.
David
Powered by blists - more mailing lists