Subject: linux-next: build failure after merge of the vfs-brauner-fixes tree

From: Mark Brown <[email-masked]>
Date: Thu, 9 Apr 2026 13:17:08 +0100

Hi all,

After merging the vfs-brauner-fixes tree, today's linux-next build
(arm64 allnoconfig) failed like this:

/tmp/next/build/fs/sysfs/mount.c: In function 'sysfs_init_fs_context':
/tmp/next/build/fs/sysfs/mount.c:75:37: error: implicit declaration of function 'to_net_ns'; did you mean
'get_net_ns'? [-Wimplicit-function-declaration]
   75 |                 struct net *netns = to_net_ns(ns);
      |                                     ^~~~~~~~~ get_net_ns
/tmp/next/build/fs/sysfs/mount.c:75:37: error: initialization of 'struct net *' from 'int' makes pointer from integer without a cast [-Wint-conversion]

Caused by commit

  9a8098b1d5023 (kernfs: pass struct ns_common instead of const void * for namespace tags)

There's a missing include of net/net_namespace.h.  I have used the
version from next-20260408 instead.