Patchwork namei.h: include errno.h

login
register
mail settings
Submitter Stephen Warren
Date Dec. 24, 2012, 6:14 p.m.
Message ID <1356372898-21272-1-git-send-email-swarren@wwwdotorg.org>
Download mbox | patch
Permalink /patch/208091/
State Not Applicable
Headers show

Comments

Stephen Warren - Dec. 24, 2012, 6:14 p.m.
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 <swarren@wwwdotorg.org>
---
 include/linux/namei.h |    1 +
 1 file changed, 1 insertion(+)
Theodore Ts'o - Dec. 25, 2012, 6:24 p.m.
On Mon, Dec 24, 2012 at 08:14:58AM -0000, Stephen Warren wrote:
> 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 <swarren@wwwdotorg.org>

Reviewed-by: "Theodore Ts'o" <tytso@mit.edu>

Looks good to me.  You might want to add that this commit fixes a
build failure regression in v3.8-rc1 which was introduced in commit
b9d6ba94b875.

Al, you want to take this, since the original commit went in via the
VFS tree?   Or should we have Jan carry this patch?

    	       	      	      	  	- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Al Viro - Dec. 25, 2012, 6:52 p.m.
On Tue, Dec 25, 2012 at 01:24:49PM -0500, Theodore Ts'o wrote:
> On Mon, Dec 24, 2012 at 08:14:58AM -0000, Stephen Warren wrote:
> > 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 <swarren@wwwdotorg.org>
> 
> Reviewed-by: "Theodore Ts'o" <tytso@mit.edu>
> 
> Looks good to me.  You might want to add that this commit fixes a
> build failure regression in v3.8-rc1 which was introduced in commit
> b9d6ba94b875.
> 
> Al, you want to take this, since the original commit went in via the
> VFS tree?   Or should we have Jan carry this patch?

Applied, will push later today...
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

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>