From: Trond Myklebust Date: Sat, 8 Jan 2011 22:45:38 +0000 (-0500) Subject: NFS: Don't use vm_map_ram() in readdir X-Git-Tag: v2.6.38-rc1~407^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6650239a4b01077e80d5a4468562756d77afaa59;p=pandora-kernel.git NFS: Don't use vm_map_ram() in readdir vm_map_ram() is not available on NOMMU platforms, and causes trouble on incoherrent architectures such as ARM when we access the page data through both the direct and the virtual mapping. The alternative is to use the direct mapping to access page data for the case when we are not crossing a page boundary, but to copy the data into a linear scratch buffer when we are accessing data that spans page boundaries. Signed-off-by: Trond Myklebust Tested-by: Marc Kleine-Budde Cc: stable@kernel.org [2.6.37] --- Reading git-diff-tree failed