From 7b6175e12899f3cb9ab754ca3b88e3df11d49dc9 Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 29 May 2002 10:22:13 +0000 Subject: [PATCH] Add exports for extended attribute functions. This should be part of the next official EA patch already (it was in ext2 but missing from ext3 EAs). --- lustre/extN/linux-2.4.18ea-0.8.26.diff | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lustre/extN/linux-2.4.18ea-0.8.26.diff b/lustre/extN/linux-2.4.18ea-0.8.26.diff index ade2321..c9870b6 100644 --- a/lustre/extN/linux-2.4.18ea-0.8.26.diff +++ b/lustre/extN/linux-2.4.18ea-0.8.26.diff @@ -329,7 +329,7 @@ diff -Nur linux-2.4.18/fs/ext3/symlink.c linux-2.4.18ea/fs/ext3/symlink.c diff -Nur linux-2.4.18/fs/ext3/xattr.c linux-2.4.18ea/fs/ext3/xattr.c --- linux-2.4.18/fs/ext3/xattr.c Thu Jan 1 01:00:00 1970 +++ linux-2.4.18ea/fs/ext3/xattr.c Wed Apr 3 13:19:05 2002 -@@ -0,0 +1,1241 @@ +@@ -0,0 +1,1247 @@ +/* + * linux/fs/ext3/xattr.c + * @@ -400,8 +400,14 @@ diff -Nur linux-2.4.18/fs/ext3/xattr.c linux-2.4.18ea/fs/ext3/xattr.c +#include +#include +#include -+ -+#define EXT3_EA_USER "user." ++#include ++ ++/* These symbols may be needed by a module. */ ++EXPORT_SYMBOL(extN_xattr_register); ++EXPORT_SYMBOL(extN_xattr_unregister); ++EXPORT_SYMBOL(extN_xattr_get); ++EXPORT_SYMBOL(extN_xattr_list); ++EXPORT_SYMBOL(extN_xattr_set); + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) +# define mark_buffer_dirty(bh) mark_buffer_dirty(bh, 1) -- 1.8.3.1