Reiser4 manipulates with super block's inode lists. To do that it needs
inode_lock and __iget to be external symbols.
Signed-off-by: Andrew Morton <
[email protected]>
---
diff -puN fs/inode.c~reiser4-export-inode_lock fs/inode.c
fs/inode.c | 2 ++
1 files changed, 2 insertions(+)
diff -puN fs/inode.c~reiser4-export-inode_lock fs/inode.c
--- linux-2.6.11-rc3-mm2/fs/inode.c~reiser4-export-inode_lock 2005-02-17 14:36:57.000000000 +0300
+++ linux-2.6.11-rc3-mm2-vs/fs/inode.c 2005-02-17 14:36:57.000000000 +0300
@@ -81,6 +81,7 @@ static struct hlist_head *inode_hashtabl
* the i_state of an inode while it is in use..
*/
DEFINE_SPINLOCK(inode_lock);
+EXPORT_SYMBOL(inode_lock);
/*
* iprune_sem provides exclusion between the kswapd or try_to_free_pages
@@ -232,6 +233,7 @@ void __iget(struct inode * inode)
list_move(&inode->i_list, &inode_in_use);
inodes_stat.nr_unused--;
}
+EXPORT_SYMBOL(__iget);
/**
* clear_inode - clear an inode
_