From: David Woodhouse Date: Sun, 17 Aug 2008 16:21:18 +0000 (+0100) Subject: [PATCH] Optimise NFS readdir hack slightly. X-Git-Tag: v2.6.28-rc1~24^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c002a6c7977320f95b5edede5ce4e0eeecf291ff;p=pandora-kernel.git [PATCH] Optimise NFS readdir hack slightly. Avoid calling the underlying ->readdir() again when we reached the end already; keep going round the loop only if we stopped due to our own buffer being full. [AV: tidy the things up a bit, while we are there] Signed-off-by: David Woodhouse Signed-off-by: Al Viro --- Reading git-diff-tree failed