| To: | stas@xxxxxxxxxxx |
|---|---|
| Subject: | Re: 2.4.21-20.EL undefined references in modules |
| From: | Eric Sandeen <sandeen@xxxxxxx> |
| Date: | Thu, 07 Oct 2004 12:40:03 -0500 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <1097141989.2726.168.camel@whirl.lab7.lan> |
| References: | <1097141989.2726.168.camel@whirl.lab7.lan> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla Thunderbird 0.7.3 (X11/20040803) |
Stas - Please take a look at the various kernel patches in ftp://oss.sgi.com/projects/xfs/testing/release-1.3.3-pre2/kernels/RHEL/SRPMS/kernel-2.4.21-15.EL.sgi3.src.rpm -that might offer a clue. You're right that the #ifdef is handling a backport; in our kernels we put this alongside KERNEL_HAS_O_DIRECT in linux/include/linux/fs.h: --- linux/include/linux/fs.h.orig 2003-12-30 14:47:13.000000000 -0600 +++ linux/include/linux/fs.h 2003-12-30 14:47:45.000000000 -0600 @@ -418,6 +418,7 @@ int (*flushpage) (struct page *, unsigned long); int (*releasepage) (struct page *, int); #define KERNEL_HAS_O_DIRECT /* this is for modules out of the kernel */ +#define KERNEL_HAS_NEW_O_DIRECT /* O_DIRECT rework from 2.4.22 */ int (*direct_IO)(int, struct file *, struct kiobuf *, unsigned long, int); int (*direct_sector_IO)(int, struct file *, struct kiobuf *, unsigned long, int, int, int); void (*removepage)(struct page *); /* called when page gets removed from the inode */ Stas Nikiforov wrote: Hi, I've tried to compile xfs modules for RHEL 2.4.21-20.ELsmp kernel and got some errors. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Disk placement, Steve Lord |
|---|---|
| Next by Date: | [Bug 365] New: Truncating a file over NFS+DMAPI hangs client, bugzilla-daemon |
| Previous by Thread: | 2.4.21-20.EL undefined references in modules, Stas Nikiforov |
| Next by Thread: | Disk placement, Ash |
| Indexes: | [Date] [Thread] [Top] [All Lists] |