As per Bruce's review comment. squash into "nfsd41: exchange_id operation" Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> --- fs/nfsd/nfs4state.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index b7c4ed0..445cf94 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -1222,7 +1222,7 @@ nfsd4_exchange_id(struct svc_rqst *rqstp, __func__, rqstp, exid, clname.len, clname.data, ip_addr, exid->flags, exid->spa_how); - if (!check_name(clname) || (exid->flags & EXCHGID4_INVAL_FLAG_MASK_A)) + if (!check_name(clname) || (exid->flags & ~EXCHGID4_FLAG_MASK_A)) return nfserr_inval; /* Currently only support SP4_NONE */ -- 1.6.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html