Whamcloud - gitweb
Branch: HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / export-fedro-2.6.10.patch
1 Index: linux-2.6.10/net/core/sock.c
2 ===================================================================
3 --- linux-2.6.10.orig/net/core/sock.c   2004-12-25 05:35:23.000000000 +0800
4 +++ linux-2.6.10/net/core/sock.c        2005-03-31 20:42:01.084364672 +0800
5 @@ -1359,6 +1359,7 @@
6  EXPORT_SYMBOL(sk_alloc);
7  EXPORT_SYMBOL(sk_free);
8  EXPORT_SYMBOL(sk_send_sigurg);
9 +EXPORT_SYMBOL(sock_getsockopt);
10  EXPORT_SYMBOL(sock_alloc_send_pskb);
11  EXPORT_SYMBOL(sock_alloc_send_skb);
12  EXPORT_SYMBOL(sock_init_data);
13 Index: linux-2.6.10/fs/dcache.c
14 ===================================================================
15 --- linux-2.6.10.orig/fs/dcache.c       2005-03-31 19:44:53.000000000 +0800
16 +++ linux-2.6.10/fs/dcache.c    2005-03-31 22:02:08.130582568 +0800
17 @@ -1691,6 +1691,7 @@
18  
19  EXPORT_SYMBOL(d_alloc);
20  EXPORT_SYMBOL(d_alloc_anon);
21 +EXPORT_SYMBOL(is_subdir);
22  EXPORT_SYMBOL(d_alloc_root);
23  EXPORT_SYMBOL(d_delete);
24  EXPORT_SYMBOL(d_find_alias);
25 Index: linux-2.6.10/fs/namespace.c
26 ===================================================================
27 --- linux-2.6.10.orig/fs/namespace.c    2005-03-31 19:44:54.000000000 +0800
28 +++ linux-2.6.10/fs/namespace.c 2005-03-31 22:03:44.906870336 +0800
29 @@ -1239,6 +1239,7 @@
30                 mntput(old_pwdmnt);
31         }
32  }
33 +EXPORT_SYMBOL(set_fs_pwd);
34  
35  static void chroot_fs_refs(struct nameidata *old_nd, struct nameidata *new_nd)
36  {
37 Index: linux-2.6.10/fs/file_table.c
38 ===================================================================
39 --- linux-2.6.10.orig/fs/file_table.c   2004-12-25 05:33:50.000000000 +0800
40 +++ linux-2.6.10/fs/file_table.c        2005-03-31 20:44:40.924065344 +0800
41 @@ -196,6 +196,7 @@
42                 file_free(file);
43         }
44  }
45 +EXPORT_SYMBOL(put_filp);
46  
47  void file_move(struct file *file, struct list_head *list)
48  {
49 Index: linux-2.6.10/kernel/sched.c
50 ===================================================================
51 --- linux-2.6.10.orig/kernel/sched.c    2005-03-31 15:57:21.000000000 +0800
52 +++ linux-2.6.10/kernel/sched.c 2005-03-31 22:00:30.616406976 +0800
53 @@ -2942,6 +2942,19 @@
54  
55  EXPORT_SYMBOL(sleep_on_timeout);
56  
57 +void fastcall __sched sleep_on(wait_queue_head_t *q)
58 +{
59 +        SLEEP_ON_VAR
60 +
61 +        current->state = TASK_UNINTERRUPTIBLE;
62 +
63 +        SLEEP_ON_HEAD
64 +        schedule();
65 +        SLEEP_ON_TAIL
66 +}
67 +
68 +EXPORT_SYMBOL(sleep_on);
69 +
70  void set_user_nice(task_t *p, long nice)
71  {
72         unsigned long flags;
73 Index: linux-2.6.10/kernel/exit.c
74 ===================================================================
75 --- linux-2.6.10.orig/kernel/exit.c     2005-03-31 19:44:52.509587264 +0800
76 +++ linux-2.6.10/kernel/exit.c  2005-03-31 20:47:18.034180976 +0800
77 @@ -515,6 +515,7 @@
78  {
79         __exit_mm(tsk);
80  }
81 +EXPORT_SYMBOL(exit_mm);
82  
83  static inline void choose_new_parent(task_t *p, task_t *reaper, task_t *child_reaper)
84  {