Re: [PATCH 4/6] make struct mountpoint bear the dentry reference to mountpoint, not struct mount

Linus Torvalds
2019-07-07T21:17:59Z

On Fri, Jul 5, 2019 at 5:22 PM Al Viro <viro@zeniv.linux.org.uk> wrote:
>
> +static HLIST_HEAD(unmounted); /* protected by namespace_sem */
> +static LIST_HEAD(ex_mountpoints);

What protects the ex_mountpoints list?

It looks like it's the mount_lock, but why isn't that documented?

It sure isn't namespace_sem from the comment above.

Linus