Skip to contentSkip to conversation

brokem module compile

PATCH New Lucio Maciel 1 participant 1 message Oct 16, 2002

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 brokem module compile

Hi all..

This patch export some symbols to compile nfs, nfsd, ext3 and ext2 (and possible others ??) as modules in 2.5.43.

best regards

Signature · 4 lines
::: Lucio F. Maciel
::: [email protected]
::: icq 93065464
::: Absoluta.net
mm/filemap.c renamed from linux-2.5.43-old/mm/filemap.c +2 -0
diff --exclude=arch --exclude=drivers --exclude=include --exclude=init --exclude=ipc --exclude=kernel --exclude=lib --exclude=scripts --exclude=security --exclude=sound --exclude='*.diff' -uNr ../linux-2.5.42/mm/filemap.c ./mm/filemap.c
@@ -891,6 +891,7 @@
 	BUG_ON(iocb->ki_pos != pos);
 	return __generic_file_aio_read(iocb, &local_iov, 1, &iocb->ki_pos);
 }
+EXPORT_SYMBOL(generic_file_aio_read);
 
 ssize_t
 generic_file_read(struct file *filp, char *buf, size_t count, loff_t *ppos)
@@ -1650,6 +1651,7 @@
 {
 	return generic_file_write(iocb->ki_filp, buf, count, &iocb->ki_pos);
 }
+EXPORT_SYMBOL(generic_file_aio_write);
 
 ssize_t generic_file_write(struct file *file, const char *buf,
 			   size_t count, loff_t *ppos)
net/sunrpc/sunrpc_syms.c renamed from linux-2.5.43-old/net/sunrpc/sunrpc_syms.c +20 -0
diff --exclude=arch --exclude=drivers --exclude=include --exclude=init --exclude=ipc --exclude=kernel --exclude=lib --exclude=scripts --exclude=security --exclude=sound --exclude='*.diff' -uNr ../linux-2.5.42/net/sunrpc/sunrpc_syms.c ./net/sunrpc/sunrpc_syms.c
@@ -23,6 +23,26 @@
 #include <linux/sunrpc/svcsock.h>
 #include <linux/sunrpc/auth.h>
 
+/* CACHE FUNCTIONS for nfsd */
+EXPORT_SYMBOL(cache_fresh);
+EXPORT_SYMBOL(cache_check);
+EXPORT_SYMBOL(cache_flush);
+EXPORT_SYMBOL(cache_unregister);
+EXPORT_SYMBOL(cache_clean);
+EXPORT_SYMBOL(cache_register);
+EXPORT_SYMBOL(cache_init);
+
+EXPORT_SYMBOL(auth_domain_find);
+EXPORT_SYMBOL(auth_unix_lookup);
+EXPORT_SYMBOL(auth_unix_add_addr);
+EXPORT_SYMBOL(auth_unix_forget_old);
+EXPORT_SYMBOL(auth_domain_put);
+EXPORT_SYMBOL(svcauth_unix_purge);
+
+EXPORT_SYMBOL(unix_domain_find);
+EXPORT_SYMBOL(add_hex);
+EXPORT_SYMBOL(get_word);
+EXPORT_SYMBOL(add_word);
 
 /* RPC scheduler */
 EXPORT_SYMBOL(rpc_allocate);