diff options
| author | 2007-05-09 02:34:55 -0700 | |
|---|---|---|
| committer | 2007-05-09 12:30:54 -0700 | |
| commit | 05ed690efbb28b54af79f97af8c9705e82a6fbd7 (patch) | |
| tree | f6c5a437cb8f8c0a666cd1f1a13e39d1fa354146 /scripts | |
| parent | knfsd: rpcgss: RPC_GSS_PROC_ DESTROY request will get a bad rpc (diff) | |
knfsd: simplify a 'while' condition in svcsock.c
This while loop has an overly complex condition, which performs a couple of
assignments. This hurts readability.
We don't really need a loop at all. We can just return -EAGAIN and (providing
we set SK_DATA), the function will be called again.
So discard the loop, make the complex conditional become a few clear function
calls, and hopefully improve readability.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
