Re: error in 2.6.37-git10

From: Felipe Balbi
Date: Fri Jan 14 2011 - 04:58:42 EST


On Fri, Jan 14, 2011 at 10:51:33AM +0100, Piotr Hosowicz wrote:
> Hello,
>
> Build failed here:
>
> CC [M] fs/ecryptfs/main.o
> fs/ecryptfs/main.c:144: error: expected â=â, â,â, â;â, âasmâ or
> â__attribute__â before â*â token
> fs/ecryptfs/main.c: In function âecryptfs_interposeâ:
> fs/ecryptfs/main.c:204: error: implicit declaration of function
> âecryptfs_get_inodeâ
> fs/ecryptfs/main.c:204: warning: initialization makes pointer from
> integer without a cast
> fs/ecryptfs/main.c:206: error: expected â)â before âreturnâ
> fs/ecryptfs/main.c:212: error: expected expression before â}â token
> fs/ecryptfs/main.c: In function âecryptfs_mountâ:
> fs/ecryptfs/main.c:569: warning: assignment makes pointer from
> integer without a cast

Could you check whether this is enough?

diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index d3b28ab..d2e71a2 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -34,6 +34,7 @@
#include <linux/pagemap.h>
#include <linux/key.h>
#include <linux/parser.h>
+#include <linux/fs.h>
#include <linux/fs_stack.h>
#include <linux/slab.h>
#include "ecryptfs_kernel.h"

--
balbi
--
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/