diff options
author | NeilBrown <neilb@suse.de> | 2007-05-09 02:34:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 12:30:54 -0700 |
commit | 05ed690efbb28b54af79f97af8c9705e82a6fbd7 (patch) | |
tree | f6c5a437cb8f8c0a666cd1f1a13e39d1fa354146 /fs/nfsd/Makefile | |
parent | c5e434c98b49f4877ea1614a629499e082b1a818 (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 'fs/nfsd/Makefile')
0 files changed, 0 insertions, 0 deletions