But, ac20 should have the fix. Looks like only the expanding truncate case
ended up under the BKL in vmtruncate. This untested diff is stolen from the
expanding truncate fix in ac25:
--- linux/mm/memory.c.1 Mon Mar 26 11:05:25 2001
+++ linux/mm/memory.c Mon Mar 26 11:06:31 2001
@@ -969,7 +969,12 @@
spin_unlock(&mapping->i_shared_lock);
truncate_inode_pages(mapping, offset);
if (inode->i_op && inode->i_op->truncate)
+ {
+ /* This doesnt scale but it is meant to be a 2.4 invariant */
+ lock_kernel();
inode->i_op->truncate(inode);
+ unlock_kernel();
+ }
return 0;
do_expand:
-chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/