mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 00:34:10 +08:00
nfsd4: kill unneeded cl_confirm check
We generate a unique cl_confirm for every new client; so if we've already checked that this cl_confirm agrees with the cl_confirm of unconf, then we already know that it does not agree with the cl_confirm of conf. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
This commit is contained in:
parent
f3aba4e5a1
commit
366e0c1d91
@ -835,9 +835,7 @@ nfsd4_setclientid_confirm(struct svc_rqst *rqstp,
|
|||||||
* SETCLIENTID_CONFIRM request processing consisting
|
* SETCLIENTID_CONFIRM request processing consisting
|
||||||
* of 4 bullet points, labeled as CASE1 - CASE4 below.
|
* of 4 bullet points, labeled as CASE1 - CASE4 below.
|
||||||
*/
|
*/
|
||||||
if ((conf && unconf) &&
|
if (conf && unconf && same_verf(&confirm, &unconf->cl_confirm)) {
|
||||||
(same_verf(&unconf->cl_confirm, &confirm)) &&
|
|
||||||
(!same_verf(&conf->cl_confirm, &unconf->cl_confirm))) {
|
|
||||||
/*
|
/*
|
||||||
* RFC 3530 14.2.34 CASE 1:
|
* RFC 3530 14.2.34 CASE 1:
|
||||||
* callback update
|
* callback update
|
||||||
|
Loading…
Reference in New Issue
Block a user