From: Trond Myklebust Date: Wed, 27 Apr 2011 17:47:52 +0000 (-0400) Subject: NFSv4: Ensure we request the ordinary fileid when doing readdirplus X-Git-Tag: v2.6.39-rc6~24^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28331a46d88459788c8fca72dbb0415cd7f514c9;p=pandora-kernel.git NFSv4: Ensure we request the ordinary fileid when doing readdirplus When readdir() returns a directory entry for the root of a mounted filesystem, Linux follows the old convention of returning the inode number of the covered directory (despite newer versions of POSIX declaring that this is a bug). To ensure this continues to work, the NFSv4 readdir implementation requests the 'mounted-on-fileid' from the server. However, readdirplus also needs to instantiate an inode for this entry, and for that, we also need to request the real fileid as per this patch. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed