reiser4 breaks vmware

From: Shawn
Date: Tue Dec 23 2003 - 12:58:32 EST


Forgive my line-wraps, but the following (among other do_mmap_pgoff
related snippets) break vmware.

Couple questions out of this:
1. Does anyone care enough to produce a patch for vmware's module?
2. What does this change accomplish for reiser4?

diff -ruN linux-2.6.0-test9/arch/i386/kernel/sys_i386.c
linux-2.6.0-test9-reiser4/arch/i386/kernel/sys_i386.c
--- linux-2.6.0-test9/arch/i386/kernel/sys_i386.c Sat Oct 25
22:44:51 2003
+++ linux-2.6.0-test9-reiser4/arch/i386/kernel/sys_i386.c Thu Nov
13 15:39:47 2003
@@ -56,7 +56,7 @@
}

down_write(&current->mm->mmap_sem);
- error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff);
+ error = do_mmap_pgoff(current->mm, file, addr, len, prot, flags,
pgoff);
up_write(&current->mm->mmap_sem);

if (file)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/