From d2ad4271c24c757ecc085cfd8492700b1c1a889b Mon Sep 17 00:00:00 2001 From: "J. Bruce Fields" Date: Fri, 18 May 2012 21:34:55 -0400 Subject: [PATCH] --- yaml --- r: 309853 b: refs/heads/master c: e98479b8d6a451bfae1a29e9b2dd503e435f7a48 h: refs/heads/master i: 309851: 63a54c38d7066be2a00f72d49d2e0fe4c007e7b3 v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfs4state.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 84cb0b50e031..013ed00fa1ea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d5497fc693a446ce9100fcf4117c3f795ddfd0d2 +refs/heads/master: e98479b8d6a451bfae1a29e9b2dd503e435f7a48 diff --git a/trunk/fs/nfsd/nfs4state.c b/trunk/fs/nfsd/nfs4state.c index c743cdf51ebc..7bb4e88f33c7 100644 --- a/trunk/fs/nfsd/nfs4state.c +++ b/trunk/fs/nfsd/nfs4state.c @@ -2344,9 +2344,8 @@ nfsd4_setclientid_confirm(struct svc_rqst *rqstp, nfsd4_probe_callback(conf); status = nfs_ok; } - } else if ((!conf || (conf && !same_verf(&conf->cl_confirm, &confirm))) - && (!unconf || (unconf && !same_verf(&unconf->cl_confirm, - &confirm)))) { + } else if ((!conf || !same_verf(&conf->cl_confirm, &confirm)) + && (!unconf || !same_verf(&unconf->cl_confirm, &confirm))) { /* * RFC 3530 14.2.34 CASE 4: * Client probably hasn't noticed that we rebooted yet.