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

From: David Howells
Date: Tue May 19 2020 - 12:51:24 EST


Randy Dunlap <rdunlap@xxxxxxxxxxxxx> 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