1 Index: linux-2.6.10/mm/truncate.c
2 ===================================================================
3 --- linux-2.6.10.orig/mm/truncate.c 2005-04-06 23:38:35.000000000 +0800
4 +++ linux-2.6.10/mm/truncate.c 2005-04-07 14:55:03.019979256 +0800
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/net/core/sock.c
24 ===================================================================
25 --- linux-2.6.10.orig/net/core/sock.c 2004-12-25 05:35:23.000000000 +0800
26 +++ linux-2.6.10/net/core/sock.c 2005-04-07 14:55:03.020979104 +0800
28 EXPORT_SYMBOL(sk_alloc);
29 EXPORT_SYMBOL(sk_free);
30 EXPORT_SYMBOL(sk_send_sigurg);
31 +EXPORT_SYMBOL(sock_getsockopt);
32 EXPORT_SYMBOL(sock_alloc_send_pskb);
33 EXPORT_SYMBOL(sock_alloc_send_skb);
34 EXPORT_SYMBOL(sock_init_data);
35 Index: linux-2.6.10/fs/dcache.c
36 ===================================================================
37 --- linux-2.6.10.orig/fs/dcache.c 2005-04-07 00:35:35.000000000 +0800
38 +++ linux-2.6.10/fs/dcache.c 2005-04-07 14:55:03.003981688 +0800
41 EXPORT_SYMBOL(d_alloc);
42 EXPORT_SYMBOL(d_alloc_anon);
43 +EXPORT_SYMBOL(is_subdir);
44 EXPORT_SYMBOL(d_alloc_root);
45 EXPORT_SYMBOL(d_delete);
46 EXPORT_SYMBOL(d_find_alias);
47 Index: linux-2.6.10/fs/jbd/journal.c
48 ===================================================================
49 --- linux-2.6.10.orig/fs/jbd/journal.c 2004-12-25 05:34:01.000000000 +0800
50 +++ linux-2.6.10/fs/jbd/journal.c 2005-04-07 14:55:03.006981232 +0800
52 EXPORT_SYMBOL(journal_errno);
53 EXPORT_SYMBOL(journal_ack_err);
54 EXPORT_SYMBOL(journal_clear_err);
55 +EXPORT_SYMBOL(log_start_commit);
56 EXPORT_SYMBOL(log_wait_commit);
57 EXPORT_SYMBOL(journal_start_commit);
58 EXPORT_SYMBOL(journal_force_commit_nested);
59 Index: linux-2.6.10/fs/namespace.c
60 ===================================================================
61 --- linux-2.6.10.orig/fs/namespace.c 2005-04-07 00:35:35.000000000 +0800
62 +++ linux-2.6.10/fs/namespace.c 2005-04-07 14:55:03.007981080 +0800
67 +EXPORT_SYMBOL(set_fs_pwd);
69 static void chroot_fs_refs(struct nameidata *old_nd, struct nameidata *new_nd)
71 Index: linux-2.6.10/fs/file_table.c
72 ===================================================================
73 --- linux-2.6.10.orig/fs/file_table.c 2004-12-25 05:33:50.000000000 +0800
74 +++ linux-2.6.10/fs/file_table.c 2005-04-07 14:55:03.004981536 +0800
79 +EXPORT_SYMBOL(put_filp);
81 void file_move(struct file *file, struct list_head *list)
83 Index: linux-2.6.10/kernel/sched.c
84 ===================================================================
85 --- linux-2.6.10.orig/kernel/sched.c 2005-04-07 00:35:34.000000000 +0800
86 +++ linux-2.6.10/kernel/sched.c 2005-04-07 14:55:03.018979408 +0800
87 @@ -2942,6 +2942,19 @@
89 EXPORT_SYMBOL(sleep_on_timeout);
91 +void fastcall __sched sleep_on(wait_queue_head_t *q)
95 + current->state = TASK_UNINTERRUPTIBLE;
102 +EXPORT_SYMBOL(sleep_on);
104 void set_user_nice(task_t *p, long nice)
107 Index: linux-2.6.10/kernel/exit.c
108 ===================================================================
109 --- linux-2.6.10.orig/kernel/exit.c 2005-04-06 23:44:29.000000000 +0800
110 +++ linux-2.6.10/kernel/exit.c 2005-04-07 14:55:03.014980016 +0800
112 switch_uid(INIT_USER);
115 +EXPORT_SYMBOL(reparent_to_init);
117 void __set_special_pids(pid_t session, pid_t pgrp)
119 struct task_struct *curr = current;
124 +EXPORT_SYMBOL(exit_files);
126 static inline void __put_fs_struct(struct fs_struct *fs)
132 +EXPORT_SYMBOL(exit_mm);
134 static inline void choose_new_parent(task_t *p, task_t *reaper, task_t *child_reaper)
136 Index: linux-2.6.10/include/linux/fs.h
137 ===================================================================
138 --- linux-2.6.10.orig/include/linux/fs.h 2005-04-07 14:54:24.454842048 +0800
139 +++ linux-2.6.10/include/linux/fs.h 2005-04-07 14:55:03.010980624 +0800
140 @@ -1183,6 +1183,7 @@
141 extern struct vfsmount *kern_mount(struct file_system_type *);
142 extern int may_umount_tree(struct vfsmount *);
143 extern int may_umount(struct vfsmount *);
144 +struct vfsmount *do_kern_mount(const char *type, int flags, const char *name, void *data);
145 extern long do_mount(char *, char *, char *, unsigned long, void *);
147 extern int vfs_statfs(struct super_block *, struct kstatfs *);
148 Index: linux-2.6.10/include/linux/mm.h
149 ===================================================================
150 --- linux-2.6.10.orig/include/linux/mm.h 2005-04-07 00:22:23.000000000 +0800
151 +++ linux-2.6.10/include/linux/mm.h 2005-04-07 14:55:03.012980320 +0800
153 extern unsigned long __do_brk(unsigned long, unsigned long);
154 extern unsigned long do_brk(unsigned long, unsigned long);
157 +extern void truncate_complete_page(struct address_space *mapping,struct page *);
160 extern unsigned long page_unuse(struct page *);
161 extern void truncate_inode_pages(struct address_space *, loff_t);