commit | 8695b90ac3c37278010c76ab3680f35ab358caf9 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Sat May 19 10:05:58 2012 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Thu May 31 20:30:04 2012 -0400 |
tree | 6376644c7d8f6c0c36874c0388400dc5f1e41fac | |
parent | 788c1eba50133777df5ca2972cda3c9a8f78f52f [diff] |
nfsd4: fix error return in non-matching-creds case Note CLID_INUSE is for the case where two clients are trying to use the same client-provided long-form client identifiers. But what we're looking at here is the server-returned shorthand client id--if those clash there's a bug somewhere. Fix the error return, pull the check out into common code, and do the check unconditionally in all cases. Signed-off-by: J. Bruce Fields <bfields@redhat.com>