1 Index: linux-2.6.10/mm/truncate.c
2 ===================================================================
3 --- linux-2.6.10.orig/mm/truncate.c 2005-04-06 19:38:35.000000000 +0400
4 +++ linux-2.6.10/mm/truncate.c 2005-07-18 01:55:37.000000000 +0400
6 * its lock, b) when a concurrent invalidate_inode_pages got there first and
7 * c) when tmpfs swizzles a page between a tmpfs inode and swapper_space.
11 truncate_complete_page(struct address_space *mapping, struct page *page)
13 if (page->mapping != mapping)
15 page_cache_release(page); /* pagecache ref */
18 +EXPORT_SYMBOL(truncate_complete_page);
21 * This is for invalidate_inode_pages(). That function can be called at
22 * any time, and is not supposed to throw away dirty pages. But pages can
23 Index: linux-2.6.10/mm/swap.c
24 ===================================================================
25 --- linux-2.6.10.orig/mm/swap.c 2004-12-25 00:34:31.000000000 +0300
26 +++ linux-2.6.10/mm/swap.c 2005-07-19 12:23:36.000000000 +0400
31 +EXPORT_SYMBOL(__pagevec_release);
34 * pagevec_release() for pages which are known to not be on the LRU
37 return pagevec_count(pvec);
40 +EXPORT_SYMBOL(pagevec_lookup);
42 unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping,
43 pgoff_t *index, int tag, unsigned nr_pages)
46 return pagevec_count(pvec);
49 +EXPORT_SYMBOL(pagevec_lookup_tag);
53 Index: linux-2.6.10/net/core/sock.c
54 ===================================================================
55 --- linux-2.6.10.orig/net/core/sock.c 2004-12-25 00:35:23.000000000 +0300
56 +++ linux-2.6.10/net/core/sock.c 2005-07-18 01:55:37.000000000 +0400
58 EXPORT_SYMBOL(sk_alloc);
59 EXPORT_SYMBOL(sk_free);
60 EXPORT_SYMBOL(sk_send_sigurg);
61 +EXPORT_SYMBOL(sock_getsockopt);
62 EXPORT_SYMBOL(sock_alloc_send_pskb);
63 EXPORT_SYMBOL(sock_alloc_send_skb);
64 EXPORT_SYMBOL(sock_init_data);
65 Index: linux-2.6.10/fs/dcache.c
66 ===================================================================
67 --- linux-2.6.10.orig/fs/dcache.c 2005-07-18 01:55:36.000000000 +0400
68 +++ linux-2.6.10/fs/dcache.c 2005-07-18 01:55:37.000000000 +0400
71 EXPORT_SYMBOL(d_alloc);
72 EXPORT_SYMBOL(d_alloc_anon);
73 +EXPORT_SYMBOL(is_subdir);
74 EXPORT_SYMBOL(d_alloc_root);
75 EXPORT_SYMBOL(d_delete);
76 EXPORT_SYMBOL(d_find_alias);
77 Index: linux-2.6.10/fs/jbd/journal.c
78 ===================================================================
79 --- linux-2.6.10.orig/fs/jbd/journal.c 2004-12-25 00:34:01.000000000 +0300
80 +++ linux-2.6.10/fs/jbd/journal.c 2005-07-18 01:55:37.000000000 +0400
82 EXPORT_SYMBOL(journal_errno);
83 EXPORT_SYMBOL(journal_ack_err);
84 EXPORT_SYMBOL(journal_clear_err);
85 +EXPORT_SYMBOL(log_start_commit);
86 EXPORT_SYMBOL(log_wait_commit);
87 EXPORT_SYMBOL(journal_start_commit);
88 EXPORT_SYMBOL(journal_force_commit_nested);
89 Index: linux-2.6.10/fs/namespace.c
90 ===================================================================
91 --- linux-2.6.10.orig/fs/namespace.c 2005-07-18 01:55:37.000000000 +0400
92 +++ linux-2.6.10/fs/namespace.c 2005-07-18 01:55:37.000000000 +0400
97 +EXPORT_SYMBOL(set_fs_pwd);
99 static void chroot_fs_refs(struct nameidata *old_nd, struct nameidata *new_nd)
101 Index: linux-2.6.10/fs/file_table.c
102 ===================================================================
103 --- linux-2.6.10.orig/fs/file_table.c 2004-12-25 00:33:50.000000000 +0300
104 +++ linux-2.6.10/fs/file_table.c 2005-07-18 01:55:37.000000000 +0400
109 +EXPORT_SYMBOL(put_filp);
111 void file_move(struct file *file, struct list_head *list)
113 Index: linux-2.6.10/kernel/sched.c
114 ===================================================================
115 --- linux-2.6.10.orig/kernel/sched.c 2005-07-18 01:55:36.000000000 +0400
116 +++ linux-2.6.10/kernel/sched.c 2005-07-18 01:55:37.000000000 +0400
117 @@ -2942,6 +2942,19 @@
119 EXPORT_SYMBOL(sleep_on_timeout);
121 +void fastcall __sched sleep_on(wait_queue_head_t *q)
125 + current->state = TASK_UNINTERRUPTIBLE;
132 +EXPORT_SYMBOL(sleep_on);
134 void set_user_nice(task_t *p, long nice)
137 Index: linux-2.6.10/kernel/exit.c
138 ===================================================================
139 --- linux-2.6.10.orig/kernel/exit.c 2005-07-18 01:55:35.000000000 +0400
140 +++ linux-2.6.10/kernel/exit.c 2005-07-18 01:55:37.000000000 +0400
142 switch_uid(INIT_USER);
145 +EXPORT_SYMBOL(reparent_to_init);
147 void __set_special_pids(pid_t session, pid_t pgrp)
149 struct task_struct *curr = current;
154 +EXPORT_SYMBOL(exit_files);
156 static inline void __put_fs_struct(struct fs_struct *fs)
162 +EXPORT_SYMBOL(exit_mm);
164 static inline void choose_new_parent(task_t *p, task_t *reaper, task_t *child_reaper)
166 Index: linux-2.6.10/include/linux/fs.h
167 ===================================================================
168 --- linux-2.6.10.orig/include/linux/fs.h 2005-07-18 01:55:37.000000000 +0400
169 +++ linux-2.6.10/include/linux/fs.h 2005-07-18 01:55:37.000000000 +0400
170 @@ -1184,6 +1184,7 @@
171 extern struct vfsmount *kern_mount(struct file_system_type *);
172 extern int may_umount_tree(struct vfsmount *);
173 extern int may_umount(struct vfsmount *);
174 +struct vfsmount *do_kern_mount(const char *type, int flags, const char *name, void *data);
175 extern long do_mount(char *, char *, char *, unsigned long, void *);
177 extern int vfs_statfs(struct super_block *, struct kstatfs *);
178 Index: linux-2.6.10/include/linux/mm.h
179 ===================================================================
180 --- linux-2.6.10.orig/include/linux/mm.h 2005-07-18 01:55:36.000000000 +0400
181 +++ linux-2.6.10/include/linux/mm.h 2005-07-18 01:55:37.000000000 +0400
183 extern unsigned long __do_brk(unsigned long, unsigned long);
184 extern unsigned long do_brk(unsigned long, unsigned long);
187 +extern void truncate_complete_page(struct address_space *mapping,struct page *);
190 extern unsigned long page_unuse(struct page *);
191 extern void truncate_inode_pages(struct address_space *, loff_t);
192 Index: linux-2.6.10/fs/namespace.c
193 ===================================================================
194 --- linux-2.6.10/fs/namespace.c.symbol 2005-07-28 13:16:56.000000000 -0600
195 +++ linux-2.6.10/fs/namespace.c 2005-07-28 13:17:24.000000000 -0600
196 @@ -38,6 +38,7 @@ static inline int sysfs_init(void)
198 /* spinlock for vfsmount related operations, inplace of dcache_lock */
199 spinlock_t vfsmount_lock __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;
200 +EXPORT_SYMBOL(vfsmount_lock);
202 static struct list_head *mount_hashtable;
203 static int hash_mask, hash_bits;