Re: [PATCH] namei.h: Include errno.h

From: Al Viro
Date: Sun Jan 06 2013 - 10:51:35 EST


On Sun, Jan 06, 2013 at 07:48:49AM -0800, Guenter Roeck wrote:
> Commit b9d6ba94 (vfs: add a retry_estale helper function to handle retries
> on ESTALE) intruduced the use of ESTALE in namei.h. Since namei.h does not
> include errno.h, this results in the following build error for callers/users
> which do not include errno.h directly.
>
> include/linux/namei.h:114:19: error: 'ESTALE' undeclared (first use in this
> function)
>
> Add the missing include.

That's the third patch doing the same thing; see vfs.git#for-linus for the
earliest one. Still not pulled...
--
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/