aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-05-18 21:34:55 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-05-31 20:29:58 -0400
commite98479b8d6a451bfae1a29e9b2dd503e435f7a48 (patch)
treeb76bea20badf010097507c47ae8a0c2f5b623b86 /fs/nfsd
parentd5497fc693a446ce9100fcf4117c3f795ddfd0d2 (diff)
nfsd4: setclientid remove unnecessary terms from a logical expression
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index c743cdf51ebc..7bb4e88f33c7 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -2344,9 +2344,8 @@ nfsd4_setclientid_confirm(struct svc_rqst *rqstp,
2344 nfsd4_probe_callback(conf); 2344 nfsd4_probe_callback(conf);
2345 status = nfs_ok; 2345 status = nfs_ok;
2346 } 2346 }
2347 } else if ((!conf || (conf && !same_verf(&conf->cl_confirm, &confirm))) 2347 } else if ((!conf || !same_verf(&conf->cl_confirm, &confirm))
2348 && (!unconf || (unconf && !same_verf(&unconf->cl_confirm, 2348 && (!unconf || !same_verf(&unconf->cl_confirm, &confirm))) {
2349 &confirm)))) {
2350 /* 2349 /*
2351 * RFC 3530 14.2.34 CASE 4: 2350 * RFC 3530 14.2.34 CASE 4:
2352 * Client probably hasn't noticed that we rebooted yet. 2351 * Client probably hasn't noticed that we rebooted yet.