Whamcloud - gitweb
- add disk write instrumentation to 2.4.18 patch
authorbraam <braam>
Tue, 2 Apr 2002 18:45:47 +0000 (18:45 +0000)
committerbraam <braam>
Tue, 2 Apr 2002 18:45:47 +0000 (18:45 +0000)
lustre/patches/patch-2.4.18 [moved from lustre/patches/rdonly-2.4.17.diff with 64% similarity]

similarity index 64%
rename from lustre/patches/rdonly-2.4.17.diff
rename to lustre/patches/patch-2.4.18
index 04436eb..271c24a 100644 (file)
@@ -1,3 +1,50 @@
+--- linux-2.4.17/kernel/ksyms.c.lustre Fri Feb 22 15:26:38 2002
++++ linux-2.4.17/kernel/ksyms.c        Fri Feb 22 15:27:44 2002
+@@ -282,6 +282,11 @@
+ EXPORT_SYMBOL(lock_may_write);
+ EXPORT_SYMBOL(dcache_readdir);
++/* lustre */
++EXPORT_SYMBOL(pagecache_lock);
++EXPORT_SYMBOL(do_kern_mount);
++
++
+ /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */
+ EXPORT_SYMBOL(default_llseek);
+ EXPORT_SYMBOL(dentry_open);
+--- linux-2.4.17/include/linux/fs.h.lustre     Fri Feb 22 15:27:53 2002
++++ linux-2.4.17/include/linux/fs.h    Fri Feb 22 15:28:52 2002
+@@ -983,7 +984,7 @@
+ extern struct vfsmount *kern_mount(struct file_system_type *);
+ extern int may_umount(struct vfsmount *);
+ extern long do_mount(char *, char *, char *, unsigned long, void *);
+-
++struct vfsmount *do_kern_mount(char *type, int flags, char *name, void *data);
+ #define kern_umount mntput
+ extern int vfs_statfs(struct super_block *, struct statfs *);
+--- linux-2.4.17/fs/ext3/Makefile.orig Fri Dec 21 10:41:55 2001
++++ linux-2.4.17/fs/ext3/Makefile      Fri Mar 22 11:00:58 2002
+@@ -8,6 +8,8 @@
+ # Note 2! The CFLAGS definitions are now in the main makefile...
+ O_TARGET := ext3.o
++
++export-objs :=        super.o
+ obj-y    := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
+               ioctl.o namei.o super.o symlink.o
+--- linux-2.4.17/fs/ext3/super.c.orig  Fri Dec 21 10:41:55 2001
++++ linux-2.4.17/fs/ext3/super.c       Fri Mar 22 11:00:41 2002
+@@ -1742,7 +1742,7 @@
+       unregister_filesystem(&ext3_fs_type);
+ }
+-EXPORT_NO_SYMBOLS;
++EXPORT_SYMBOL(ext3_bread);
+ MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
+ MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions");
 --- lum/include/linux/blkdev.h.orig    Thu Mar 28 11:40:24 2002
 +++ lum/include/linux/blkdev.h Thu Mar 28 23:38:46 2002
 @@ -228,4 +228,8 @@