nfsd4: exchange_id error cleanup
There's no point to the dprintk here as the main proc_compound loop already does this. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
11ae681052
commit
2786cc3a05
1 changed files with 1 additions and 5 deletions
|
@ -1545,13 +1545,11 @@ nfsd4_exchange_id(struct svc_rqst *rqstp,
|
||||||
status = nfs4_make_rec_clidname(dname, &exid->clname);
|
status = nfs4_make_rec_clidname(dname, &exid->clname);
|
||||||
|
|
||||||
if (status)
|
if (status)
|
||||||
goto error;
|
return status;
|
||||||
|
|
||||||
strhashval = clientstr_hashval(dname);
|
strhashval = clientstr_hashval(dname);
|
||||||
|
|
||||||
nfs4_lock_state();
|
nfs4_lock_state();
|
||||||
status = nfs_ok;
|
|
||||||
|
|
||||||
conf = find_confirmed_client_by_str(dname, strhashval);
|
conf = find_confirmed_client_by_str(dname, strhashval);
|
||||||
if (conf) {
|
if (conf) {
|
||||||
if (!clp_used_exchangeid(conf)) {
|
if (!clp_used_exchangeid(conf)) {
|
||||||
|
@ -1630,8 +1628,6 @@ out_copy:
|
||||||
|
|
||||||
out:
|
out:
|
||||||
nfs4_unlock_state();
|
nfs4_unlock_state();
|
||||||
error:
|
|
||||||
dprintk("nfsd4_exchange_id returns %d\n", ntohl(status));
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue