diff options
author | 2008-08-17 17:21:18 +0100 | |
---|---|---|
committer | 2008-10-23 05:13:11 -0400 | |
commit | c002a6c7977320f95b5edede5ce4e0eeecf291ff (patch) | |
tree | 9646d953e813251de9bd991ed877f1f1f46af7c4 /net/unix/af_unix.c | |
parent | [PATCH] prepare vfs_readdir() callers to returning filldir result (diff) | |
download | wireguard-linux-c002a6c7977320f95b5edede5ce4e0eeecf291ff.tar.xz wireguard-linux-c002a6c7977320f95b5edede5ce4e0eeecf291ff.zip |
[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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions