diff options
author | Bernd Schmidt <bernds_cb1@t-online.de> | 2010-05-25 23:43:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-26 08:19:23 -0700 |
commit | 3c7b204547bc3d342a4e31196fe14803581d279f (patch) | |
tree | 87a3300d266eed413012efd0a985a72caad4a856 /fs | |
parent | 0cae3457b1a6e88f31020272bcfd90c178716053 (diff) | |
download | linux-3.10-3c7b204547bc3d342a4e31196fe14803581d279f.tar.gz linux-3.10-3c7b204547bc3d342a4e31196fe14803581d279f.tar.bz2 linux-3.10-3c7b204547bc3d342a4e31196fe14803581d279f.zip |
nommu: allow private mappings of read-only devices
Slightly rearrange the logic that determines capabilities and vm_flags.
Disable BDI_CAP_MAP_DIRECT in all cases if the device can't support the
protections. Allow private readonly mappings of readonly backing devices.
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: David McCullough <davidm@snapgear.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: David Howells <dhowells@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions