Skip to contentSkip to conversation

linux-next: manual merge of the landlock tree with the vfs-brauner tree

DISCUSSION Stephen Rothwell 1 participant 1 message Nov 21, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the landlock tree got a conflict in:

include/linux/fs.h

between commit:

922a6f34c175 ("autofs: dont trigger mount if it cant succeed")

from the vfs-brauner tree and commit:

f0c02fe6ad93 ("landlock: Fix handling of disconnected directories")

from the landlock tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 15 lines
Cheers,
Stephen Rothwell

diff --cc include/linux/fs.h
index 474f728d1a6f,74e0d599e9fd..000000000000
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@@ -2839,7 -3269,7 +2839,8 @@@ extern struct file * open_exec(const ch
  /* fs/dcache.c -- generic fs support functions */
  extern bool is_subdir(struct dentry *, struct dentry *);
  extern bool path_is_under(const struct path *, const struct path *);
 +u64 vfsmount_to_propagation_flags(struct vfsmount *mnt);
+ bool path_connected(struct vfsmount *mnt, struct dentry *dentry);
  
  extern char *file_path(struct file *, char *, int);