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:24:28 EST


Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:

> Davids check will work for bind mounts as well. It just won't work it
> just won't work for files or subdirectories of some mountpoint.

Bind mounts have to be done with open_tree() and move_mount(). You can't now
do fsmount() on something fspick()'d.

David