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

2013-01-06 Thread Al Viro
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 > w

[PATCH] namei.h: Include errno.h

2013-01-06 Thread Guenter Roeck
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: er

[PATCH] namei.h: include errno.h

2012-12-24 Thread Stephen Warren
This solves: In file included from fs/ext3/symlink.c:20:0: include/linux/namei.h: In function 'retry_estale': include/linux/namei.h:114:19: error: 'ESTALE' undeclared (first use in this function) Signed-off-by: Stephen Warren --- include/linux/namei.h |1 + 1 file changed, 1 insertion(+)