xfs-masters
[Top] [All Lists]

[xfs-masters] linux-next: xfs tree build failure

To: David Chinner <david@xxxxxxxxxxxxx>, xfs-masters@xxxxxxxxxxx
Subject: [xfs-masters] linux-next: xfs tree build failure
From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Thu, 30 Oct 2008 13:23:24 +1100
Cc: linux-next@xxxxxxxxxxxxxxx, Lachlan McIlroy <lachlan@xxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
Hi David,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

ERROR: "inode_wait" [fs/xfs/xfs.ko] undefined!

Caused by commit 676a7711ee281c3bf41db18e29e296584de82793 ("[XFS] Fix
race when looking up reclaimable inodes") which introduced a use of
wait_on_inode() which is an inline that calls inode_wait().

I applied the following patch (probably wrong :-)).
-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Thu, 30 Oct 2008 13:19:46 +1100
Subject: [PATCH] fs: xfs needs inode_wait to be exported

Since wait_on_inode() references it.

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
 fs/inode.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/inode.c b/fs/inode.c
index f84ba33..098a244 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1334,6 +1334,7 @@ int inode_wait(void *word)
        schedule();
        return 0;
 }
+EXPORT_SYMBOL(inode_wait);
 
 /*
  * If we try to find an inode in the inode hash while it is being
-- 
1.5.6.5


<Prev in Thread] Current Thread [Next in Thread>