Re: [ANN] NTFS 2.0.7c for Linux 2.4.18

Pawel Kot (pkot@linuxnews.pl)
Fri, 17 May 2002 16:07:37 +0200 (CEST)


On Fri, 17 May 2002, Pawel Kot wrote:

Hi,

> As Arek Miskiewicz reported to me, the previous NTFS TNG versions didn't
> compile with CONFIG_HIGHMEM. The compilation failed due to lack of the
> definition of the KM_BIO_IRQ used in the NTFS code.
>
> In this release KM_BIO_IRQ was added to km_type enum on all platforms
> supporting it (sparc, ppm, i386).
>
> If you don't use HIGHMEM support or use other architecture the changes
> don't touch you.

Unfortunately the patch fixes only the case when NTFS is compiled into the
kernel. There are missing exports of kmap_pte and kmap_prot when you use
ntfs as the kernel module and depmod fails then.

The following patch adresses this issue. Could anyone please test it with
a highmem box? The patch will be included in the next release (2.0.7d or
2.0.8a).

--- kernel/ksyms.c~ Thu May 16 10:39:39 2002
+++ kernel/ksyms.c Fri May 17 14:12:04 2002
@@ -121,6 +121,8 @@
EXPORT_SYMBOL(kunmap_high);
EXPORT_SYMBOL(highmem_start_page);
EXPORT_SYMBOL(create_bounce);
+EXPORT_SYMBOL(kmap_pte);
+EXPORT_SYMBOL(kmap_prot);
#endif

/* filesystem internal functions */

pkot

-- 
mailto:pkot@linuxnews.pl :: mailto:pkot@slackware.pl
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku

- 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/