From: braam Date: Mon, 21 Jan 2002 01:39:01 +0000 (+0000) Subject: fix the obdfssetup script to use obdext2 (not filter) for now X-Git-Tag: 0.4.2~636 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=96dac273b50bed4daedf283d191c3792cf1534af;p=fs%2Flustre-release.git fix the obdfssetup script to use obdext2 (not filter) for now patch - revision one: pagecache_lock was missing. What else is missing? --- diff --git a/lustre/demos/obdfssetup.sh b/lustre/demos/obdfssetup.sh index de8ae27..80acc66 100755 --- a/lustre/demos/obdfssetup.sh +++ b/lustre/demos/obdfssetup.sh @@ -23,10 +23,10 @@ fi plog log "ATTACHING device 0 SETUP $BASEDEV" $OBDDIR/utils/obdctl << EOF device 0 -attach obdfilter -setup $BASEDEV reiserfs -# attach obdext2 -# setup $BASEDEV +# attach obdfilter +# setup $BASEDEV reiserfs +attach obdext2 +setup $BASEDEV quit EOF diff --git a/lustre/patches/patch-2.4.17 b/lustre/patches/patch-2.4.17 index 586321a..8f134de 100644 --- a/lustre/patches/patch-2.4.17 +++ b/lustre/patches/patch-2.4.17 @@ -1,12 +1,12 @@ --- linux/kernel/ksyms.c.lustre-orig Sun Jan 20 17:47:43 2002 -+++ linux/kernel/ksyms.c Sun Jan 20 17:34:49 2002 ++++ linux/kernel/ksyms.c Sun Jan 20 18:21:30 2002 @@ -280,6 +280,13 @@ EXPORT_SYMBOL(lock_page); EXPORT_SYMBOL(unlock_page); +/* Lustre symbols */ ++EXPORT_SYMBOL(pagecache_lock); +EXPORT_SYMBOL(do_kern_mount); -+EXPORT_SYMBOL(do_umount); +EXPORT_SYMBOL(sys_mkdir); +EXPORT_SYMBOL(sys_rmdir); +EXPORT_SYMBOL(sys_unlink); @@ -15,7 +15,7 @@ EXPORT_SYMBOL(register_chrdev); EXPORT_SYMBOL(unregister_chrdev); --- linux/include/linux/fs.h.lustre-orig Sun Jan 20 17:32:26 2002 -+++ linux/include/linux/fs.h Sun Jan 20 17:45:27 2002 ++++ linux/include/linux/fs.h Sun Jan 20 18:23:42 2002 @@ -984,6 +984,8 @@ extern int may_umount(struct vfsmount *); extern long do_mount(char *, char *, char *, unsigned long, void *);