patching kdb to Centos kernel : error

From: Satish Eerpini
Date: Sun Aug 17 2008 - 02:00:56 EST


hi everyone , i was trying to patch kdb with CentOS 5.0 kernel
(2.6.18-8) , and had a few rejects ( which i am still trying to
resolve) ,.... but apart from the rejects during the kernel
compilation i got the following error which does not seem to have
anything to do with the rejects ............
i have got an error in a kdb module, which has nothing to do with the
rejected patches ( or so i guess ) :

kdb/modules/kdbm_pg.c: In function 'kdbm_show_page':
kdb/modules/kdbm_pg.c:349: error: implicit declaration
of function 'PageChecked'
kdb/modules/kdbm_pg.c: In function 'kdbm_inode':
kdb/modules/kdbm_pg.c:507: error: 'struct inode' has no
member named 'u'

the code(in kdb/modules/kdbm_pg.c) which is causing the second error
is something like this :

iaddr += offsetof(struct inode, u);

what i am not able to understand is that if 'u' is not a correct
member of the inode , .. then what did they( whoever wrote this piece
code) intend by 'u' ? , .....

....
and for the first error , ... i just checked out the code ....
according to the line no shown in the error .....the code is :

kdb_page_flags(page, Checked);

and i don't see any function PageChecked ....! so what can the error
actually mean ??

Thanks in advance
Satish
--
http://satish.playdrupal.com
--
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/