Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / iod-stock-24-exports_hp.patch
1  fs/Makefile     |    2 +-
2  fs/inode.c      |    4 +++-
3  mm/page_alloc.c |    1 +
4  3 files changed, 5 insertions(+), 2 deletions(-)
5
6 --- linux/fs/inode.c~iod-stock-24-exports_hp    Wed Apr  9 10:44:54 2003
7 +++ linux-mmonroe/fs/inode.c    Wed Apr  9 10:49:50 2003
8 @@ -5,6 +5,7 @@
9   */
10  
11  #include <linux/config.h>
12 +#include <linux/module.h>
13  #include <linux/fs.h>
14  #include <linux/string.h>
15  #include <linux/mm.h>
16 @@ -66,7 +67,8 @@ static LIST_HEAD(anon_hash_chain); /* fo
17   * NOTE! You also have to own the lock if you change
18   * the i_state of an inode while it is in use..
19   */
20 -static spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
21 +spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
22 +EXPORT_SYMBOL(inode_lock);
23  
24  /*
25   * Statistics gathering..
26 --- linux/fs/Makefile~iod-stock-24-exports_hp   Wed Apr  9 10:26:08 2003
27 +++ linux-mmonroe/fs/Makefile   Wed Apr  9 10:49:50 2003
28 @@ -7,7 +7,7 @@
29  
30  O_TARGET := fs.o
31  
32 -export-objs := filesystems.o open.o dcache.o buffer.o dquot.o
33 +export-objs := filesystems.o open.o dcache.o buffer.o dquot.o inode.o
34  mod-subdirs := nls xfs
35  
36  obj-y :=       open.o read_write.o devices.o file_table.o buffer.o \
37 --- linux/mm/page_alloc.c~iod-stock-24-exports_hp       Wed Apr  9 10:26:14 2003
38 +++ linux-mmonroe/mm/page_alloc.c       Wed Apr  9 10:49:50 2003
39 @@ -28,6 +28,7 @@ int nr_inactive_pages;
40  LIST_HEAD(inactive_list);
41  LIST_HEAD(active_list);
42  pg_data_t *pgdat_list;
43 +EXPORT_SYMBOL(pgdat_list);
44  
45  /*
46   *
47
48 _