From: David Woodhouse <dwmw2@infradead.org>
To: Andrew Morton <akpm@digeo.com>
Cc: ch@murgatroid.com, fbecker@intrinsyc.com,
linux-arm-kernel@lists.arm.linux.org.uk,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: 2.5.55-rmk1: user space lossage
Date: Thu, 23 Jan 2003 10:01:12 +0000 [thread overview]
Message-ID: <17281.1043316072@passion.cambridge.redhat.com> (raw)
In-Reply-To: <20030123015659.422e8179.akpm@digeo.com>
akpm@digeo.com said:
> Linus did it!
> diff -puN mm/filemap.c~generic_file_readonly_mmap-fix mm/filemap.c
> --- 25/mm/filemap.c~generic_file_readonly_mmap-fix 2003-01-23 01:55:41 -0800
> +++ 25-akpm/mm/filemap.c 2003-01-23 01:55:45 -0800
> @@ -1312,7 +1312,6 @@ int generic_file_readonly_mmap(struct fi
> {
> if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_WRITE))
> return -EINVAL;
> - vma->vm_flags &= ~VM_MAYWRITE;
> return generic_file_mmap(file, vma);
> }
> #else
- if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_WRITE))
+- if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_WRITE))
++ if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_MAYWRITE))
...?
--
dwmw2
next prev parent reply other threads:[~2003-01-23 9:30 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 ` 2.5.55-rmk1: user space lossage Christopher Hoover
2003-01-23 9:48 ` David Woodhouse
2003-01-23 9:56 ` Andrew Morton
2003-01-23 10:01 ` David Woodhouse [this message]
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=17281.1043316072@passion.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=akpm@digeo.com \
--cc=ch@murgatroid.com \
--cc=fbecker@intrinsyc.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--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