Re: [RFC 6/7] Use an external declaration in exit.c for fs_cachep

2006-11-17 Thread Stephen Rothwell
On Sat, 18 Nov 2006 06:44:33 + Oleg Verych <[EMAIL PROTECTED]> wrote: > > > On 2006-11-18, Stephen Rothwell wrote: > [] > >> --- linux-2.6.19-rc5-mm2.orig/kernel/exit.c2006-11-15 > >> 16:48:11.485511089 -0600 > >> +++ linux-2.6.19-rc5-mm2/kernel/exit.c 2006-11-17 23:04:09.764530373

Re: [RFC 6/7] Use an external declaration in exit.c for fs_cachep

2006-11-17 Thread Oleg Verych
On 2006-11-18, Stephen Rothwell wrote: [] >> --- linux-2.6.19-rc5-mm2.orig/kernel/exit.c 2006-11-15 16:48:11.485511089 >> -0600 >> +++ linux-2.6.19-rc5-mm2/kernel/exit.c 2006-11-17 23:04:09.764530373 >> -0600 >> @@ -48,6 +48,8 @@ >> #include >> #include >> >> +extern kmem_cache_t *fs_c

Re: [RFC 6/7] Use an external declaration in exit.c for fs_cachep

2006-11-17 Thread Stephen Rothwell
On Fri, 17 Nov 2006 21:44:13 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > > Use an external declaration in exit.c for fs_cachep. > > fs_cachep is only used in kernel/exit.c and in kernel/fork.c. > It is defined in kernel/fork.c so we need to add an external > declaration to kernel/ex

[RFC 6/7] Use an external declaration in exit.c for fs_cachep

2006-11-17 Thread Christoph Lameter
Use an external declaration in exit.c for fs_cachep. fs_cachep is only used in kernel/exit.c and in kernel/fork.c. It is defined in kernel/fork.c so we need to add an external declaration to kernel/exit.c to be able to avoid the declaration. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> I