diff options
author | NeilBrown <neilb@suse.de> | 2013-11-14 13:00:17 +1100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-11-15 13:41:43 -0500 |
commit | 9e08ef1afb109c2059e7c1e4755fcafd9be37260 (patch) | |
tree | 5830ab17b4adba9246dc3de557730e585675966b /crypto/af_alg.c | |
parent | 6d769f1e1420179d1f83cf1a9cdc585b46c28545 (diff) | |
download | op-kernel-dev-9e08ef1afb109c2059e7c1e4755fcafd9be37260.zip op-kernel-dev-9e08ef1afb109c2059e7c1e4755fcafd9be37260.tar.gz |
NFS: correctly report misuse of "migration" mount option.
The current test on valid use of the "migration" mount option can never
report an error as it will only do so if
mnt->version !=4 && mnt->minor_version != 0
(and some other condition), but if that test would succeed, then the previous
test has already gone-to out_minorversion_mismatch.
So change the && to an || to get correct semantics.
Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions