Whamcloud - gitweb
New files for vanilla 2.6.6 linux kernel. also a new ldiskfs for 2.6.6
[fs/lustre-release.git] / lustre / kernel_patches / patches / iod-stock-exports-2.4.22-rh.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-2.4.22-ac1/fs/inode.c~iod-stock-exports-2.4.22-rh     2003-09-25 14:45:32.000000000 +0400
7 +++ linux-2.4.22-ac1-alexey/fs/inode.c  2003-09-25 14:49:41.000000000 +0400
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 @@ -68,7 +69,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-2.4.22-ac1/fs/Makefile~iod-stock-exports-2.4.22-rh    2003-09-25 14:16:28.000000000 +0400
27 +++ linux-2.4.22-ac1-alexey/fs/Makefile 2003-09-25 14:50:00.000000000 +0400
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 dcookies.o
33 +export-objs := filesystems.o open.o dcache.o buffer.o dquot.o dcookies.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-2.4.22-ac1/mm/page_alloc.c~iod-stock-exports-2.4.22-rh        2003-09-25 14:16:28.000000000 +0400
38 +++ linux-2.4.22-ac1-alexey/mm/page_alloc.c     2003-09-25 14:49:41.000000000 +0400
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 _