Subject: Re: linux-next: Tree for May 12 (fs/namespace.c)

From: David Howells <[email-masked]>
Date: Tue, 19 May 2020 17:51:13 +0100

Randy Dunlap <[email-masked]> wrote:

>   CC      fs/namespace.o
> ../fs/namespace.c: In function "fsinfo_generic_mount_topology":
> ../fs/namespace.c:4274:42: error: "struct mount" has no member named "mnt_topology_changes"
>   p->mnt_topology_changes = atomic_read(&m->mnt_topology_changes);
>                                           ^~
> 
> i.e., CONFIG_MOUNT_NOTIFICATIONS is not set/enabled.

All the accesses to struct mount::mnt_topology_changes should now be wrapped
in #ifdef CONFIG_MOUNT_NOTIFICATIONS.

David