nfsd4: simpler ordering of setclientid_confirm checks
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 19 May 2012 17:55:22 +0000 (13:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Jun 2012 00:30:07 +0000 (20:30 -0400)
The cases here divide into two main categories:

- if there's an uncomfirmed record with a matching verifier,
  then this is a "normal", succesful case: we're either creating
  a new client, or updating an existing one.
- otherwise, this is a weird case: a replay, or a server reboot.

Reordering to reflect that makes the code a bit more concise and the
logic a lot easier to understand.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found