4 3 files changed, 5 insertions(+), 2 deletions(-)
6 Index: linux-2.4.22-vanilla/fs/inode.c
7 ===================================================================
8 --- linux-2.4.22-vanilla.orig/fs/inode.c 2003-11-03 23:22:24.000000000 +0300
9 +++ linux-2.4.22-vanilla/fs/inode.c 2003-11-03 23:25:00.000000000 +0300
13 #include <linux/config.h>
14 +#include <linux/module.h>
16 #include <linux/string.h>
19 * NOTE! You also have to own the lock if you change
20 * the i_state of an inode while it is in use..
22 -static spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
23 +spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
24 +EXPORT_SYMBOL(inode_lock);
27 * Statistics gathering..
28 Index: linux-2.4.22-vanilla/fs/Makefile
29 ===================================================================
30 --- linux-2.4.22-vanilla.orig/fs/Makefile 2003-11-03 23:22:11.000000000 +0300
31 +++ linux-2.4.22-vanilla/fs/Makefile 2003-11-03 23:25:24.000000000 +0300
36 -export-objs := filesystems.o open.o dcache.o buffer.o dquot.o
37 +export-objs := filesystems.o open.o dcache.o buffer.o dquot.o inode.o
40 obj-y := open.o read_write.o devices.o file_table.o buffer.o \
41 Index: linux-2.4.22-vanilla/mm/page_alloc.c
42 ===================================================================
43 --- linux-2.4.22-vanilla.orig/mm/page_alloc.c 2003-11-03 23:21:29.000000000 +0300
44 +++ linux-2.4.22-vanilla/mm/page_alloc.c 2003-11-03 23:25:00.000000000 +0300
46 LIST_HEAD(inactive_list);
47 LIST_HEAD(active_list);
48 pg_data_t *pgdat_list;
49 +EXPORT_SYMBOL(pgdat_list);