summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-12-12 05:38:17 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-12 05:38:17 +0100
commit67121172f9753f38689651b613a4850e0e75876f (patch)
treecfb6ea8365c44a43ee254385c7d246f0418cedd0 /drivers/mtd
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 (diff)
downloadlinux-67121172f9753f38689651b613a4850e0e75876f.tar.xz
linux-67121172f9753f38689651b613a4850e0e75876f.zip
Allow arbitrary read-only shared pfn-remapping too
The VM layer (for historical reasons) turns a read-only shared mmap into a private-like mapping with the VM_MAYWRITE bit clear. Thus checking just VM_SHARED isn't actually sufficient. So use a trivial helper function for the cases where we wanted to inquire if a mapping was COW-like or not. Moo! Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions