1 diff -u -r linux-2.4.17-stock/include/linux/fs.h linux-2.4.17/include/linux/fs.h
2 --- linux-2.4.17-stock/include/linux/fs.h Fri Dec 21 09:42:03 2001
3 +++ linux-2.4.17/include/linux/fs.h Wed Feb 20 13:39:51 2002
5 extern int may_umount(struct vfsmount *);
6 extern long do_mount(char *, char *, char *, unsigned long, void *);
8 +struct vfsmount *do_kern_mount(char *type, int flags, char *name, void *data);
9 #define kern_umount mntput
11 extern int vfs_statfs(struct super_block *, struct statfs *);
13 return __get_lease(inode, mode);
19 --- linux-2.4.17-stock/kernel/ksyms.c Fri Dec 21 09:42:04 2001
20 +++ linux-2.4.17/kernel/ksyms.c Wed Feb 20 12:57:32 2002
22 EXPORT_SYMBOL(lock_page);
23 EXPORT_SYMBOL(unlock_page);
26 +EXPORT_SYMBOL(pagecache_lock);
27 +EXPORT_SYMBOL(do_kern_mount);
28 +EXPORT_SYMBOL(module_list);
30 /* device registration */
31 EXPORT_SYMBOL(register_chrdev);
32 EXPORT_SYMBOL(unregister_chrdev);
33 --- linux-2.4.17-stock/mm/filemap.c Fri Dec 21 09:42:04 2001
34 +++ linux-2.4.17/mm/filemap.c Wed Feb 20 15:18:17 2002
35 @@ -2862,8 +2880,10 @@
36 if ((ssize_t) count < 0)
40 if (!access_ok(VERIFY_READ, buf, count))
46 @@ -2987,10 +3007,12 @@
47 * same page as we're writing to, without it being marked
51 { volatile unsigned char dummy;
52 __get_user(dummy, buf);
53 __get_user(dummy, buf+bytes-1);
57 status = -ENOMEM; /* we'll assign it later anyway */
58 page = __grab_cache_page(mapping, index, &cached_page);