2.5.55-rmk1: user space lossage
Christopher Hoover
ch at murgatroid.com
Wed Jan 22 21:34:47 EST 2003
Aha! This is the problem:
[ch at friction src]$ diff -B -w -Naurp linux-2.5.{52,53}/fs/jffs2
diff -B -w -Naurp linux-2.5.52/fs/jffs2/file.c
linux-2.5.53/fs/jffs2/file.c
--- linux-2.5.52/fs/jffs2/file.c 2002-12-15 18:08:24.000000000
-0800
+++ linux-2.5.53/fs/jffs2/file.c 2002-12-23 21:21:34.000000000
-0800
@@ -58,7 +58,7 @@ struct file_operations jffs2_file_operat
.read = generic_file_read,
.write = generic_file_write,
.ioctl = jffs2_ioctl,
- .mmap = generic_file_mmap,
+ .mmap = generic_file_readonly_mmap,
.fsync = jffs2_fsync,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,29)
.sendfile = generic_file_sendfile
[ch at friction src]$
If you reverese this change, 2.5.55-rmk1 behaves.
-ch
More information about the linux-mtd
mailing list