Skip to contentSkip to conversation

Missing exports in ext23-acl-xattr-07.patch

2.5.44-mm5 Andreas Gruenbacher 1 participant 1 message Oct 25, 2002 VFS

lore
Share & tools
lore
#0 lore raw

Hello Ted and Andrew,

The ext23-acl-xattr-07.patch is missing some exports in fs/posix_acl.c that are necessary if modules use the functions in that file. Please include/merge in the attached patch.

--Andreas.

fs/posix_acl.c +11 -0
@@ -18,9 +18,20 @@
 #include <linux/fs.h>
 #include <linux/sched.h>
 #include <linux/posix_acl.h>
+#include <linux/module.h>
 
 #include <linux/errno.h>
 
+EXPORT_SYMBOL(posix_acl_alloc);
+EXPORT_SYMBOL(posix_acl_clone);
+EXPORT_SYMBOL(posix_acl_valid);
+EXPORT_SYMBOL(posix_acl_equiv_mode);
+EXPORT_SYMBOL(posix_acl_from_mode);
+EXPORT_SYMBOL(posix_acl_create_masq);
+EXPORT_SYMBOL(posix_acl_chmod_masq);
+EXPORT_SYMBOL(posix_acl_masq_nfs_mode);
+EXPORT_SYMBOL(posix_acl_permission);
+
 /*
  * Allocate a new ACL with the specified number of entries.
  */
fs/Makefile +2 -1
@@ -6,7 +6,8 @@
 # 
 
 export-objs :=	open.o dcache.o buffer.o bio.o inode.o dquot.o mpage.o aio.o \
-                fcntl.o read_write.o dcookies.o mbcache.o xattr_acl.o
+                fcntl.o read_write.o dcookies.o mbcache.o xattr_acl.o \
+                posix_acl.o
 
 obj-y :=	open.o read_write.o devices.o file_table.o buffer.o \
 		bio.o super.o block_dev.o char_dev.o stat.o exec.o pipe.o \