Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote: > +#include <linux/cred.h> > #include <linux/types.h> > #include <linux/file.h> > #include <linux/fs.h> > @@ -13,6 +14,7 @@ > #include <linux/linkage.h> > #include <linux/namei.h> > #include <linux/mount.h> > +#include <linux/sched.h> Only the latter addition should be necessary. linux/sched.h #includes linux/cred.h. David -- 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