Re: [PATCH 31/34] vfs: syscall: Add fspick() to select a superblock for reconfiguration [ver #12]

From: David Howells
Date: Wed Oct 17 2018 - 11:46:02 EST

Alan Jenkins <alan.christopher.jenkins@xxxxxxxxx> 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.