[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 7 Jul 2019 14:17:38 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Linux List Kernel Mailing <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/6] make struct mountpoint bear the dentry reference to
mountpoint, not struct mount
On Fri, Jul 5, 2019 at 5:22 PM Al Viro <viro@...iv.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
Powered by blists - more mailing lists