Trivial ext2-as-a-module fix vs 2.5.43

Trivial ext2-as-a-module fix vs 2.5.43

Post by Rusty Russel » Thu, 17 Oct 2002 11:40:06



Needs these two symbols exported, as I think, does ext3.

diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .31492-2.5.43-module.pre/mm/filemap.c .31492-2.5.43-module/mm/filemap.c
--- .31492-2.5.43-module.pre/mm/filemap.c       2002-10-16 15:01:26.000000000 +1000

        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

 {
        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)

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Trivial ext2-as-a-module fix vs 2.5.43

Post by SL Bau » Fri, 18 Oct 2002 07:20:06



> Needs these two symbols exported, as I think, does ext3.

They're needed for NFS as a module too.  Please apply the patch.

depmod: *** Unresolved symbols in /var/tmp/kernel-2.5.43-root/lib/modules/2.5.43-1sb/kernel/fs/nfs/nfs.o
depmod:         generic_file_aio_read
depmod:         generic_file_aio_write

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/