Error in fs/reiser4/page_cache.c : PG_active not declared
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
I got the vanilla 2.6.7 kernel .. patched it to 2.6.8-rc2 then patched it to 2.6.8-rc2-love2.
After the love patch, I get an error when compiling the kernel:
Undeclared variable PG_active in fs/reiser4/page_cache.c Line 891
There are variables named PG_active_mapped and PG_active_unmapped in other .c and .h files. But no PG_active .
Dosent look too bad .. but what should be done ?
Thanks
Ashay
--
<HAND>
Signature · 1 line
<HAND>
This sounds more like a love-sources problem than a reiser4 problem. Post something at http://forums.gentoo.org/viewtopic.php?t=201053 or if you still want help here, try to reproduce the problem with the latest auto-snapshot patched on the -mm version it was diffed against, ideally with no other patches.
I looked at fs/reiser4/page_cache.c and you should be able to avoid the problematic code by disabling resier4 debug output, although I'm not sure how or why it would be enabled.
Quoted 18 lines · Ashay Humane
Hi,
I got the vanilla 2.6.7 kernel .. patched it to 2.6.8-rc2 then patched it to 2.6.8-rc2-love2.After the love patch, I get an error when compiling the kernel:
Undeclared variable
PG_activeinfs/reiser4/page_cache.cLine 891There are variables named
PG_active_mappedandPG_active_unmappedin other .c and .h files. But noPG_active.Dosent look too bad .. but what should be done ?
Thanks
Ashay--
<HAND>
Signature · 1 line
Jake Maciejewski <[email protected]>
Hello
Quoted 4 lines · Ashay Humane
Hi,
I got the vanilla 2.6.7 kernel .. patched it to 2.6.8-rc2 then patched it to 2.6.8-rc2-love2.
Quoted 9 lines
After the love patch, I get an error when compiling the kernel:
Undeclared variable
PG_activeinfs/reiser4/page_cache.cLine 891There are variables named
PG_active_mappedandPG_active_unmappedin other .c and .h files. But noPG_active.Dosent look too bad .. but what should be done ?
Please try attached patch
Quoted 8 lines
Thanks
Ashay--
<HAND>
===== page_cache.c 1.304 vs edited =====
page_cache.c +1 -2
@@ -881,14 +881,13 @@ }printk ("%s: page index: %lu mapping: %p count: %i private: %lx\n" , prefix, page->index, page->mapping,page_count (page), page->private); - printk("\tflags: %s%s%s%s %s%s%s%s %s%s%s%s %s%s%s\n", + printk("\tflags: %s%s%s%s %s%s%s %s%s%s%s %s%s%s\n", page_flag_name(page, PG_locked), page_flag_name(page, PG_error), page_flag_name(page, PG_referenced), page_flag_name(page, PG_uptodate), page_flag_name(page, PG_dirty), page_flag_name(page, PG_lru), - page_flag_name(page, PG_active), page_flag_name(page, PG_slab), page_flag_name(page, PG_highmem), page_flag_name(page, PG_checked),