Re: linux-next: Tree for April 1 [BROKEN ubifs when CONFIG_DEBUG_SECTION_MISMATCH=y]

From: Sedat Dilek
Date: Fri Apr 01 2011 - 12:10:44 EST


On Fri, Apr 1, 2011 at 6:06 PM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Cc'ing Artem,
>
> On Fri, 1 Apr 2011 17:55:52 +0200 Sedat Dilek <sedat.dilek@xxxxxxxxxxxxxx> wrote:
>>
>> With CONFIG_DEBUG_SECTION_MISMATCH=y set, I see in my build.log:
>> ...
>> MODPOST 2742 modules
>> ...
>> ERROR: "empty_aops" [fs/ubifs/ubifs.ko] undefined!
>> make[5]: *** [__modpost] Error 1
>> make[4]: *** [modules] Error 2
>> make[3]: *** [sub-make] Error 2
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory
>> `/home/sd/src/linux-2.6/linux-2.6.39-rc1/debian/build/build_i386_none_686-iniza'
>>
>> - Sedat -
>>
>
>
> --
> Cheers,
> Stephen Rothwell          Âsfr@xxxxxxxxxxxxxxxx
> http://www.canb.auug.org.au/~sfr/
>

Speculative patch (untested).

- Sedat -

$ diff -uprN fs/ubifs/xattr.c.orig fs/ubifs/xattr.c
--- fs/ubifs/xattr.c.orig 2011-04-01 15:56:08.471082117 +0200
+++ fs/ubifs/xattr.c 2011-04-01 18:08:27.355276827 +0200
@@ -81,6 +81,7 @@ enum {

static const struct inode_operations none_inode_operations;
static const struct file_operations none_file_operations;
+static const struct address_space_operations empty_aops;

/**
* create_xattr - create an extended attribute.
--
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/