lkml.org 
[lkml]   [2004]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.10-rc1-mm1: reiser4 delete_from_page_cache compile error
On Wed, 27 Oct 2004, Adrian Bunk wrote:
> LD .tmp_vmlinux1
> fs/built-in.o(.text+0xd2393): In function `drop_page':
> : undefined reference to `delete_from_page_cache'
> make: *** [.tmp_vmlinux1] Error 1
>
> Hugh already requested to drop his patch.

That's right, thanks Adrian. Mathieu, please just "patch -R -p1" the below

--- 25/fs/reiser4/page_cache.c~reiser4-delete_from_page_cache 2004-10-24 23:37:37.997272448 -0700
+++ 25-akpm/fs/reiser4/page_cache.c 2004-10-24 23:37:38.001271840 -0700
@@ -759,13 +759,9 @@ drop_page(struct page *page)
#if defined(PG_skipped)
ClearPageSkipped(page);
#endif
- if (page->mapping != NULL) {
- remove_from_page_cache(page);
- unlock_page(page);
- /* page removed from the mapping---decrement page counter */
- page_cache_release(page);
- } else
- unlock_page(page);
+ if (page->mapping != NULL)
+ delete_from_page_cache(page);
+ unlock_page(page);
}


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

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.098 / U:2.584 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site