fs/Makefile | 2 +- fs/inode.c | 4 +++- mm/page_alloc.c | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) Index: linux-2.4.22-vanilla/fs/inode.c =================================================================== --- linux-2.4.22-vanilla.orig/fs/inode.c 2003-11-03 23:22:24.000000000 +0300 +++ linux-2.4.22-vanilla/fs/inode.c 2003-11-03 23:25:00.000000000 +0300 @@ -5,6 +5,7 @@ */ #include +#include #include #include #include @@ -66,7 +67,8 @@ * NOTE! You also have to own the lock if you change * the i_state of an inode while it is in use.. */ -static spinlock_t inode_lock = SPIN_LOCK_UNLOCKED; +spinlock_t inode_lock = SPIN_LOCK_UNLOCKED; +EXPORT_SYMBOL(inode_lock); /* * Statistics gathering.. Index: linux-2.4.22-vanilla/fs/Makefile =================================================================== --- linux-2.4.22-vanilla.orig/fs/Makefile 2003-11-03 23:22:11.000000000 +0300 +++ linux-2.4.22-vanilla/fs/Makefile 2003-11-03 23:25:24.000000000 +0300 @@ -7,7 +7,7 @@ O_TARGET := fs.o -export-objs := filesystems.o open.o dcache.o buffer.o dquot.o +export-objs := filesystems.o open.o dcache.o buffer.o dquot.o inode.o mod-subdirs := nls obj-y := open.o read_write.o devices.o file_table.o buffer.o \ Index: linux-2.4.22-vanilla/mm/page_alloc.c =================================================================== --- linux-2.4.22-vanilla.orig/mm/page_alloc.c 2003-11-03 23:21:29.000000000 +0300 +++ linux-2.4.22-vanilla/mm/page_alloc.c 2003-11-03 23:25:00.000000000 +0300 @@ -28,6 +28,7 @@ LIST_HEAD(inactive_list); LIST_HEAD(active_list); pg_data_t *pgdat_list; +EXPORT_SYMBOL(pgdat_list); /* *