From: Eric Van Hensbergen Date: Thu, 7 Feb 2008 01:25:05 +0000 (-0600) Subject: 9p: fix mmap to be read-only X-Git-Tag: v2.6.25-rc1~511^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14b8869ff4f00f105ea76678997b4d49d27baae3;p=pandora-kernel.git 9p: fix mmap to be read-only v9fs was allowing writable mmap which could lead to kernel BUG() cases. This sets the mmap function to generic_file_readonly_mmap which (correctly) returns an error to applications which open mmap for writing. Signed-off-by: Eric Van Hensbergen --- Reading git-diff-tree failed