[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1357487329-32034-1-git-send-email-linux@roeck-us.net>
Date: Sun, 6 Jan 2013 07:48:49 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: Jeff Layton <jlayton@...hat.com>, linux-kernel@...r.kernel.org,
Guenter Roeck <linux@...ck-us.net>
Subject: [PATCH] namei.h: Include errno.h
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.
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
include/linux/namei.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/namei.h b/include/linux/namei.h
index e998c03..92313e4 100644
--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -4,6 +4,7 @@
#include <linux/dcache.h>
#include <linux/linkage.h>
#include <linux/path.h>
+#include <linux/errno.h>
struct vfsmount;
--
1.7.9.7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists