From: Trond Myklebust Date: Fri, 24 Sep 2010 22:49:43 +0000 (-0400) Subject: NFS: Optimise the readdir searches X-Git-Tag: v2.6.37-rc1~120^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baf57a09e9d87b14be5e2788828169394a2525ab;p=pandora-kernel.git NFS: Optimise the readdir searches If we're going through the loop in nfs_readdir() more than once, we usually do not want to restart searching from the beginning of the pages cache. We only want to do that if the previous search failed... Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed