• J. Bruce Fields's avatar
    nfsd4: simpler ordering of setclientid_confirm checks · 90d700b7
    J. Bruce Fields authored
    
    
    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: default avatarJ. Bruce Fields <bfields@redhat.com>
    90d700b7
nfs4state.c 126 KB