[packages/kernel] - export symbols needed by aufs (they are new and were never exported)

baggins baggins at pld-linux.org
Sat Apr 25 09:46:10 CEST 2026


commit 25280fef4f7da385c5d988ce29adedb3a354dc33
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Apr 25 11:45:27 2026 +0200

    - export symbols needed by aufs (they are new and were never exported)

 kernel-aufs-exports.patch | 18 ++++++++++++++++++
 kernel.spec               |  2 ++
 2 files changed, 20 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index f9b26a9a..a1452020 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -156,6 +156,7 @@ Patch59:	kernel-rndis_host-wm5.patch
 
 # see update-source.sh
 Patch145:	kernel-aufs.patch
+Patch146:	kernel-aufs-exports.patch
 Patch147:	kernel-aufs-make.patch
 
 # Show normal colors in menuconfig with ncurses ABI 6
@@ -567,6 +568,7 @@ cd linux-%{basever}
 %if %{with aufs}
 # aufs
 %patch -P145 -p1
+%patch -P146 -p1
 %patch -P147 -p1
 %endif
 
diff --git a/kernel-aufs-exports.patch b/kernel-aufs-exports.patch
new file mode 100644
index 00000000..c5bd3838
--- /dev/null
+++ b/kernel-aufs-exports.patch
@@ -0,0 +1,18 @@
+--- linux-7.0/fs/namespace.c~	2026-04-24 21:35:57.000000000 +0200
++++ linux-7.0/fs/namespace.c	2026-04-25 11:43:27.786675705 +0200
+@@ -2278,6 +2278,7 @@
+ 		path_get(p);
+ 	return res;
+ }
++EXPORT_SYMBOL_GPL(collect_paths);
+ 
+ void drop_collected_paths(const struct path *paths, const struct path *prealloc)
+ {
+@@ -2286,6 +2287,7 @@
+ 	if (paths != prealloc)
+ 		kfree(paths);
+ }
++EXPORT_SYMBOL_GPL(drop_collected_paths);
+ 
+ static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *, bool);
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/25280fef4f7da385c5d988ce29adedb3a354dc33



More information about the pld-cvs-commit mailing list