]> git.karo-electronics.de Git - linux-beck.git/commit
svcrpc: break up svc_recv
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 18 Aug 2012 19:33:51 +0000 (15:33 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 21 Aug 2012 21:42:01 +0000 (17:42 -0400)
commit6797fa5a018ff916a071c6265fbf043644abcd29
treed3a74c168d8e12b85a793be1ea20c34b40ca74f4
parent6741019c829ecfa6f7a504fae1305dcf5d5cf057
svcrpc: break up svc_recv

Matter of taste, I suppose, but svc_recv breaks up naturally into:

allocate pages and setup arg
dequeue (wait for, if necessary) next socket
do something with that socket

And I find it easier to read when it doesn't go on for pages and pages.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc_xprt.c