Re: unionfs compile error ( Re: 2.6.23-rc1-mm2 )

From: Andrew Morton
Date: Wed Aug 01 2007 - 13:23:03 EST


On Wed, 01 Aug 2007 12:33:18 +0200 Gabriel C <nix.or.die@xxxxxxxxxxxxxx> wrote:

> ....
>
> fs/unionfs/file.c:147: error: 'file_fsync' undeclared here (not in a function)
> make[2]: *** [fs/unionfs/file.o] Error 1
> make[1]: *** [fs/unionfs] Error 2
> make: *** [fs] Error 2
> make: *** Waiting for unfinished jobs....
>
> ...
>
> Config can be found there -> http://194.231.229.228/MM/config-auto-3
>

This, I assume:

--- a/fs/unionfs/file.c~git-unionfs-fix-2
+++ a/fs/unionfs/file.c
@@ -17,6 +17,7 @@
*/

#include "union.h"
+#include <linux/buffer_head.h>

/*******************
* File Operations *
_

(and no, sorry, I will not be complicit in that
single-header-file-which-includes-the-whole-world junk).

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