1 Index: linux-2.6.7/mm/truncate.c
2 ===================================================================
3 --- linux-2.6.7.orig/mm/truncate.c 2004-06-16 13:20:04.000000000 +0800
4 +++ linux-2.6.7/mm/truncate.c 2005-03-23 23:30:30.676444072 +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.7/fs/super.c
24 ===================================================================
25 --- linux-2.6.7.orig/fs/super.c 2004-06-16 13:19:22.000000000 +0800
26 +++ linux-2.6.7/fs/super.c 2005-03-23 23:30:30.648448328 +0800
28 return (struct vfsmount *)sb;
31 +EXPORT_SYMBOL(do_kern_mount);
33 struct vfsmount *kern_mount(struct file_system_type *type)
35 return do_kern_mount(type->name, 0, type->name, NULL);
36 Index: linux-2.6.7/fs/jbd/journal.c
37 ===================================================================
38 --- linux-2.6.7.orig/fs/jbd/journal.c 2004-06-16 13:18:59.000000000 +0800
39 +++ linux-2.6.7/fs/jbd/journal.c 2005-03-23 23:30:30.647448480 +0800
41 EXPORT_SYMBOL(journal_errno);
42 EXPORT_SYMBOL(journal_ack_err);
43 EXPORT_SYMBOL(journal_clear_err);
44 +EXPORT_SYMBOL(log_start_commit);
45 EXPORT_SYMBOL(log_wait_commit);
46 EXPORT_SYMBOL(journal_start_commit);
47 EXPORT_SYMBOL(journal_wipe);
48 Index: linux-2.6.7/kernel/exit.c
49 ===================================================================
50 --- linux-2.6.7.orig/kernel/exit.c 2004-06-16 13:19:52.000000000 +0800
51 +++ linux-2.6.7/kernel/exit.c 2005-03-23 23:34:17.539955576 +0800
53 write_unlock_irq(&tasklist_lock);
56 +EXPORT_SYMBOL(reparent_to_init);
58 void __set_special_pids(pid_t session, pid_t pgrp)
60 struct task_struct *curr = current;
65 +EXPORT_SYMBOL(exit_files);
67 static inline void __put_fs_struct(struct fs_struct *fs)
69 Index: linux-2.6.7/include/linux/fs.h
70 ===================================================================
71 --- linux-2.6.7.orig/include/linux/fs.h 2005-03-23 23:30:08.535809960 +0800
72 +++ linux-2.6.7/include/linux/fs.h 2005-03-23 23:30:30.675444224 +0800
74 extern struct vfsmount *kern_mount(struct file_system_type *);
75 extern int may_umount_tree(struct vfsmount *);
76 extern int may_umount(struct vfsmount *);
77 +struct vfsmount *do_kern_mount(const char *type, int flags, const char *name, void *data);
78 extern long do_mount(char *, char *, char *, unsigned long, void *);
80 extern int vfs_statfs(struct super_block *, struct kstatfs *);
81 Index: linux-2.6.7/include/linux/mm.h
82 ===================================================================
83 --- linux-2.6.7.orig/include/linux/mm.h 2004-06-16 13:18:56.000000000 +0800
84 +++ linux-2.6.7/include/linux/mm.h 2005-03-23 23:30:30.673444528 +0800
87 extern unsigned long do_brk(unsigned long, unsigned long);
90 +extern void truncate_complete_page(struct address_space *mapping,struct page *);
93 extern unsigned long page_unuse(struct page *);
94 extern void truncate_inode_pages(struct address_space *, loff_t);