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-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html