Assuming that you built jfs.o as a module, I believe this patch should fix
the problem. I have been testing primarily on a system where jfs.o is linked
into the kernel, but I need to take more care when modifying module-specific
code like this.
Please let me know if this patch fails to fix the hang.
Index: linux24/fs/jfs/jfs_metapage.c
===================================================================
RCS file: /usr/cvs/jfs/linux24/fs/jfs/jfs_metapage.c,v
retrieving revision 1.27
diff -u -r1.27 jfs_metapage.c
--- linux24/fs/jfs/jfs_metapage.c 2002/01/22 17:21:27 1.27
+++ linux24/fs/jfs/jfs_metapage.c 2002/01/28 16:35:21
@@ -609,8 +609,8 @@
} else {
spin_unlock(&meta_lock);
#ifdef MODULE
- generic_buffer_fdatasync(ip, addr << l2BlocksPerPage,
- (addr + 1) << l2BlocksPerPage);
+ generic_buffer_fdatasync(ip, lblock << l2BlocksPerPage,
+ (lblock + 1) << l2BlocksPerPage);
#else
page = find_lock_page(mapping,
lblock >> l2BlocksPerPage);
_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion