From: Trond Myklebust Date: Wed, 11 Mar 2009 18:37:54 +0000 (-0400) Subject: NFS: Kill the "defined but not used" compile error on nommu machines X-Git-Tag: v2.6.30-rc1~415^2^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1ebfd33be068ec933f8954060a499bd22ad6f69;p=pandora-kernel.git NFS: Kill the "defined but not used" compile error on nommu machines Bryan Wu reports that when compiling NFS on nommu machines he gets a "defined but not used" error on nfs_file_mmap(). The easiest fix is simply to get rid of the special casing in NFS, and just always call generic_file_mmap() to set up the file. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed