lkml.org 
[lkml]   [2013]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] vfs: Add missing errno.h inclusion to namei.h
On Wed,  2 Jan 2013 13:36:26 +0000
Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:

> In current -next namei.h now include/linux/namei.h uses ESTALE but does
> not include errno.h, leading to build failures on ARM where errno.h is
> not previously implicitly included by some other header as is the case
> in some bits of ext3. Fix this by adding a direct inclusion of errno.h.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> include/linux/namei.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/namei.h b/include/linux/namei.h
> index e998c03..5a5ff57 100644
> --- a/include/linux/namei.h
> +++ b/include/linux/namei.h
> @@ -2,6 +2,7 @@
> #define _LINUX_NAMEI_H
>
> #include <linux/dcache.h>
> +#include <linux/errno.h>
> #include <linux/linkage.h>
> #include <linux/path.h>
>

I think Ted and Stephen (cc'ed here) proposed the same patch a week or
so ago, but I'm not sure why Al hasn't pushed it yet.

--
Jeff Layton <jlayton@redhat.com>


\
 
 \ /
  Last update: 2013-01-02 15:21    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog