]> bbs.cooldavid.org Git - net-next-2.6.git/commit
SUNRPC: cleanup state-machine ordering
authorJ. Bruce Fields <bfields@redhat.com>
Sun, 12 Sep 2010 23:55:25 +0000 (19:55 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 12 Sep 2010 23:55:25 +0000 (19:55 -0400)
commit55576244eba805307a2b2b6a145b8f85f8c7c124
treeb81f059cd196cdc7b8e0c74bba1584e0c7dfcd5e
parent006abe887c5e637d059c44310de6c92f36aded3b
SUNRPC: cleanup state-machine ordering

This is just a minor cleanup: net/sunrpc/clnt.c clarifies the rpc client
state machine by commenting each state and by laying out the functions
implementing each state in the order that each state is normally
executed (in the absence of errors).

The previous patch "Fix null dereference in call_allocate" changed the
order of the states.  Move the functions and update the comments to
reflect the change.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c