From: Bernd Schmidt Date: Wed, 26 May 2010 06:43:00 +0000 (-0700) Subject: nommu: allow private mappings of read-only devices X-Git-Tag: v2.6.35-rc1~258 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c7b204547bc3d342a4e31196fe14803581d279f;p=pandora-kernel.git 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 Signed-off-by: Mike Frysinger Acked-by: David McCullough Acked-by: Greg Ungerer Acked-by: Paul Mundt Acked-by: David Howells Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed