commit | c002a6c7977320f95b5edede5ce4e0eeecf291ff | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Sun Aug 17 17:21:18 2008 +0100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Oct 23 05:13:11 2008 -0400 |
tree | 9646d953e813251de9bd991ed877f1f1f46af7c4 | |
parent | 53c9c5c0e32c69f9df1822e47671c13e3402c82f [diff] |
[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 <David.Woodhouse@intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>