From d4b2a2078a1d40d1f834a477e951790546412107 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 14 Aug 2002 18:23:34 +0000 Subject: [PATCH] Fix offsets for final 2.4.19. --- INSTALL | 7 +++++-- patches/linux-2.4.19-VFS-lock.patch | 15 ++++----------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/INSTALL b/INSTALL index 75e1166..8f31c44 100644 --- a/INSTALL +++ b/INSTALL @@ -18,7 +18,8 @@ Device Mapper installation If there is already a patch for your kernel and you gave 'configure' appropriate parameters in step 1, you can just run 'make apply-patches' - from the top directory and go on to step 3. + from the top directory and go on to step 3. (This also attempts to + apply the VFS lock patch, which will fail if you've already applied it.) Configure, build and install your kernel in the normal way, selecting 'Device mapper support' from the 'Multiple devices driver support' menu. @@ -28,11 +29,13 @@ Device Mapper installation version it was generated against and whether it is for the 'fs' or 'ioctl' interface. Current development effort is concentrated on the 'ioctl' interface. (Use CVS to get the older 'fs' patches if - you want.) + you want - see note below.) patches/common holds the constituent patches. You may need to use these if some of the patches (e.g. mempool) have already been applied to your kernel. See patches/common/README. + You should also apply the VFS lock patch (but not required if you're only + using ext2). Running 'make symlinks' from the 'kernel' subdirectory will put symbolic links into your kernel tree pointing back at the device-mapper source files. diff --git a/patches/linux-2.4.19-VFS-lock.patch b/patches/linux-2.4.19-VFS-lock.patch index 8ae5dd2..cfd56b8 100644 --- a/patches/linux-2.4.19-VFS-lock.patch +++ b/patches/linux-2.4.19-VFS-lock.patch @@ -39,7 +39,7 @@ diff -Nru a/drivers/md/lvm.c b/drivers/md/lvm.c diff -Nru a/fs/buffer.c b/fs/buffer.c --- a/fs/buffer.c Wed May 22 10:43:49 2002 +++ b/fs/buffer.c Wed May 22 10:43:49 2002 -@@ -363,6 +363,34 @@ +@@ -362,6 +362,34 @@ fsync_dev(dev); } @@ -208,7 +208,7 @@ diff -Nru a/fs/super.c b/fs/super.c diff -Nru a/include/linux/fs.h b/include/linux/fs.h --- a/include/linux/fs.h Wed May 22 10:43:49 2002 +++ b/include/linux/fs.h Wed May 22 10:43:49 2002 -@@ -1218,6 +1218,7 @@ +@@ -1235,6 +1235,7 @@ extern int sync_buffers(kdev_t, int); extern void sync_dev(kdev_t); extern int fsync_dev(kdev_t); @@ -216,7 +216,7 @@ diff -Nru a/include/linux/fs.h b/include/linux/fs.h extern int fsync_super(struct super_block *); extern int fsync_no_super(kdev_t); extern void sync_inodes_sb(struct super_block *); -@@ -1234,6 +1235,8 @@ +@@ -1251,6 +1251,8 @@ extern int filemap_fdatasync(struct address_space *); extern int filemap_fdatawait(struct address_space *); extern void sync_supers(kdev_t); @@ -228,7 +228,7 @@ diff -Nru a/include/linux/fs.h b/include/linux/fs.h diff -Nru a/kernel/ksyms.c b/kernel/ksyms.c --- a/kernel/ksyms.c Wed May 22 10:43:49 2002 +++ b/kernel/ksyms.c Wed May 22 10:43:49 2002 -@@ -180,6 +180,8 @@ +@@ -181,6 +181,8 @@ EXPORT_SYMBOL(invalidate_inode_pages); EXPORT_SYMBOL(truncate_inode_pages); EXPORT_SYMBOL(fsync_dev); @@ -237,10 +237,3 @@ diff -Nru a/kernel/ksyms.c b/kernel/ksyms.c EXPORT_SYMBOL(fsync_no_super); EXPORT_SYMBOL(permission); EXPORT_SYMBOL(vfs_permission); - - -_______________________________________________ -lvm-devel mailing list -lvm-devel@sistina.com -http://lists.sistina.com/mailman/listinfo/lvm-devel - -- 2.43.5