All of
 help / color / mirror / Atom feed
From: Randy Dunlap <>
To: LKML <>,
	Linux FS Devel <>,
	Al Viro <>,
	David Howells <>
Subject: [PATCH -next] fs: fix namespace.c build error when CONFIG_MOUNT_NOTIFICATIONS is not set
Date: Fri, 15 May 2020 09:54:28 -0700	[thread overview]
Message-ID: <> (raw)

From: Randy Dunlap <>

Fix build error when CONFIG_MOUNT_NOTIFICATIONS is not set/enabled.

../fs/namespace.c:4320:42: error: 'struct mount' has no member named 'mnt_topology_changes'

Signed-off-by: Randy Dunlap <>
Cc: Alexander Viro <>
Cc: David Howells <>
 fs/namespace.c |    4 ++++
 1 file changed, 4 insertions(+)

--- linux-next-20200515.orig/fs/namespace.c
+++ linux-next-20200515/fs/namespace.c
@@ -4317,7 +4317,11 @@ int fsinfo_generic_mount_topology(struct
 	m = real_mount(path->mnt);
 	p->mnt_topology_changes	= atomic_read(&m->mnt_topology_changes);
+	p->mnt_topology_changes	= 0;
 	p->parent_id = m->mnt_parent->mnt_id;
 	if (path->mnt == root.mnt) {

                 reply	other threads:[~2020-05-15 16:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [PATCH -next] fs: fix namespace.c build error when CONFIG_MOUNT_NOTIFICATIONS is not set' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.