From: NeilBrown Date: Thu, 14 Nov 2013 02:00:17 +0000 (+1100) Subject: NFS: correctly report misuse of "migration" mount option. X-Git-Tag: v3.13-rc1~53^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e08ef1afb109c2059e7c1e4755fcafd9be37260;p=pandora-kernel.git 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 Acked-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed