lkml.org 
[lkml]   [2001]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: 2.5.1 - intermediate bio stuff..
    Date
    I have a patch for the nfs stuff.   It's just a couple of EXPORT_SYMBOL lines 
    in the seq_file.c.



    Craig.



    On Sunday 16 December 2001 21:21, Richard Gooch wrote:
    > Linus Torvalds writes:
    > > 2.5.1 is hopefully a good interim stage - many block drivers should
    > > work fine, but many more do not. However, the pre-patches were
    > > getting largish, so I'd rather do a 2.5.1 than wait for all the
    > > details.
    >
    > Trying a quick test-run here:
    > # modprobe ide-probe-mod
    > /lib/modules/2.5.1/kernel/drivers/ide/ide-mod.o: unresolved symbol
    > block_ioctl
    >
    > # modprobe ide-cd
    > /lib/modules/2.5.1/kernel/drivers/ide/ide-mod.o: unresolved symbol
    > block_ioctl
    >
    > # modprobe ide-disk
    > /lib/modules/2.5.1/kernel/drivers/ide/ide-mod.o: unresolved symbol
    > block_ioctl
    >
    > # modprobe nfs
    > /lib/modules/2.5.1/kernel/fs/nfs/nfs.o: unresolved symbol seq_escape
    > /lib/modules/2.5.1/kernel/fs/nfs/nfs.o: unresolved symbol seq_printf
    >
    > Regards,
    >
    > Richard....
    > Permanent: rgooch@atnf.csiro.au
    > Current: rgooch@ras.ucalgary.ca
    > -
    > 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/
    diff -urN linux/fs/Makefile linux.mt/fs/Makefile
    --- linux/fs/Makefile Sun Dec 9 23:57:24 2001
    +++ linux.mt/fs/Makefile Mon Dec 10 22:18:31 2001
    @@ -7,7 +7,7 @@

    O_TARGET := fs.o

    -export-objs := filesystems.o open.o dcache.o buffer.o bio.o
    +export-objs := filesystems.o open.o dcache.o buffer.o bio.o seq_file.o
    mod-subdirs := nls

    obj-y := open.o read_write.o devices.o file_table.o buffer.o \
    diff -urN linux/fs/seq_file.c linux.mt/fs/seq_file.c
    --- linux/fs/seq_file.c Sat Nov 17 21:16:22 2001
    +++ linux.mt/fs/seq_file.c Tue Dec 11 00:39:09 2001
    @@ -8,6 +8,7 @@
    #include <linux/fs.h>
    #include <linux/seq_file.h>
    #include <linux/slab.h>
    +#include <linux/module.h>

    #include <asm/uaccess.h>

    @@ -293,3 +294,9 @@
    m->count = m->size;
    return -1;
    }
    +EXPORT_SYMBOL(seq_printf);
    +EXPORT_SYMBOL(seq_escape);
    +EXPORT_SYMBOL(seq_release);
    +EXPORT_SYMBOL(seq_lseek);
    +EXPORT_SYMBOL(seq_open);
    +EXPORT_SYMBOL(seq_read);
    diff -urN linux/include/linux/seq_file.h linux.mt/include/linux/seq_file.h
    --- linux/include/linux/seq_file.h Sun Dec 9 23:57:24 2001
    +++ linux.mt/include/linux/seq_file.h Mon Dec 10 23:47:15 2001
    @@ -26,11 +26,11 @@
    int (*show) (struct seq_file *m, void *v);
    };

    -int seq_open(struct file *, struct seq_operations *);
    -ssize_t seq_read(struct file *, char *, size_t, loff_t *);
    -loff_t seq_lseek(struct file *, loff_t, int);
    -int seq_release(struct inode *, struct file *);
    -int seq_escape(struct seq_file *, const char *, const char *);
    +extern int seq_open(struct file *, struct seq_operations *);
    +extern ssize_t seq_read(struct file *, char *, size_t, loff_t *);
    +extern loff_t seq_lseek(struct file *, loff_t, int);
    +extern int seq_release(struct inode *, struct file *);
    +extern int seq_escape(struct seq_file *, const char *, const char *);

    static inline int seq_putc(struct seq_file *m, char c)
    {
    @@ -53,7 +53,7 @@
    return -1;
    }

    -int seq_printf(struct seq_file *, const char *, ...)
    +extern int seq_printf(struct seq_file *, const char *, ...)
    __attribute__ ((format (printf,2,3)));

    #endif
    \
     
     \ /
      Last update: 2005-03-22 13:14    [W:0.033 / U:29.852 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site