[PATCH] Re: 2.5.42: unresolved symbols ext2

From: Benjamin LaHaise (bcrl@redhat.com)
Date: Sat Oct 12 2002 - 08:50:19 EST


On Sat, Oct 12, 2002 at 11:45:04AM +0100, Stig Brautaset wrote:
> Oops, that was compiled with the debian make-kpkg tool. Here's the
> output from vanilla make modules_install:

Whoops, looks like I missed a couple of exports. Please apply the patch
below that adds exports for generic_file_aio_{read,write}.

                -ben

diff -urN v2.5.42/mm/filemap.c v2.5.42-syms/mm/filemap.c
--- v2.5.42/mm/filemap.c Sat Oct 12 09:42:35 2002
+++ v2.5.42-syms/mm/filemap.c Sat Oct 12 09:44:23 2002
@@ -893,6 +893,8 @@
         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)
 {
@@ -1652,6 +1654,8 @@
         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)
 {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:43 EST