Re: [patch] 2.6.17: lockless pagecache

From: Michal Piotrowski
Date: Sun Jun 25 2006 - 13:54:28 EST


Nick Piggin napisaÅ(a):
> Updated lockless pagecache patchset available here:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/npiggin/patches/lockless/2.6.17/lockless.patch.gz
>

Here is my fix for this warnings
WARNING: /lib/modules/2.6.17.1/kernel/fs/ntfs/ntfs.ko needs unknown symbol add_to_page_cache
WARNING: /lib/modules/2.6.17.1/kernel/fs/ntfs/ntfs.ko needs unknown symbol add_to_page_cache

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/mm/filemap.c linux-work/mm/filemap.c
--- linux-work-clean/mm/filemap.c 2006-06-25 19:47:47.000000000 +0200
+++ linux-work/mm/filemap.c 2006-06-25 19:50:43.000000000 +0200
@@ -445,6 +445,8 @@ int add_to_page_cache(struct page *page,
return error;
}

+EXPORT_SYMBOL(add_to_page_cache);
+
/*
* Same as add_to_page_cache, but works on pages that are already in
* swapcache and possibly visible to external lookups.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/