Whamcloud - gitweb
file lbnal_cb.c was initially added on branch b1_4.
[fs/lustre-release.git] / lustre / kernel_patches / patches / iod-stock-exports-2.4.24.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 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
10 @@ -5,6 +5,7 @@
11   */
12  
13  #include <linux/config.h>
14 +#include <linux/module.h>
15  #include <linux/fs.h>
16  #include <linux/string.h>
17  #include <linux/mm.h>
18 @@ -66,7 +67,8 @@
19   * NOTE! You also have to own the lock if you change
20   * the i_state of an inode while it is in use..
21   */
22 -static spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
23 +spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
24 +EXPORT_SYMBOL(inode_lock);
25  
26  /*
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
32 @@ -7,7 +7,7 @@
33  
34  O_TARGET := fs.o
35  
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
38  mod-subdirs := nls
39  
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
45 @@ -28,6 +28,7 @@
46  LIST_HEAD(inactive_list);
47  LIST_HEAD(active_list);
48  pg_data_t *pgdat_list;
49 +EXPORT_SYMBOL(pgdat_list);
50  
51  /*
52   *