Re: next-20080808 fs/nfsctl.c build error

From: James Morris
Date: Fri Aug 08 2008 - 19:34:35 EST


On Fri, 8 Aug 2008, David Howells wrote:

> James Morris <jmorris@xxxxxxxxx> wrote:
>
> > In any case, it seems that linux/cred.h should include linux/sched.h to
> > provide a full definition of 'struct task_struct', so that 'current' can
> > be dereferenced (e.g. in current_cred()).
>
> Not good. That makes sched.h and cred.h recursively dependent. sched.h
> really needs splitting up, and the include dependencies need sorting.
>
> However, for the moment I recommend the attached patch.

Applied.


--
James Morris
<jmorris@xxxxxxxxx>
--
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/