public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Christopher Hoover" <ch@murgatroid.com>
To: "'Frank Becker'" <fbecker@intrinsyc.com>
Cc: <linux-arm-kernel@lists.arm.linux.org.uk>,
	"'linux-mtd'" <linux-mtd@lists.infradead.org>
Subject: RE: 2.5.55-rmk1: user space lossage
Date: Wed, 22 Jan 2003 18:34:47 -0800	[thread overview]
Message-ID: <000001c2c287$ffa8eef0$800b040f@bergamot> (raw)
In-Reply-To: <3E2F2354.7060508@intrinsyc.com>

Aha!  This is the problem:

[ch@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@friction src]$ 

If you reverese this change, 2.5.55-rmk1 behaves.

-ch

       reply	other threads:[~2003-01-23  2:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3E2F2354.7060508@intrinsyc.com>
2003-01-23  2:34 ` Christopher Hoover [this message]
2003-01-23  9:48   ` 2.5.55-rmk1: user space lossage David Woodhouse
2003-01-23  9:56     ` Andrew Morton
2003-01-23 10:01       ` David Woodhouse
2003-01-23 10:06         ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001c2c287$ffa8eef0$800b040f@bergamot' \
    --to=ch@murgatroid.com \
    --cc=fbecker@intrinsyc.com \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox