From: Trond Myklebust Date: Fri, 2 Jan 2015 21:25:08 +0000 (-0500) Subject: NFSv4.1: Fix client id trunking on Linux X-Git-Tag: fixes-v4.0-rc1~288^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fc0703af3143914a389bfa081c7acb09502ed5d;p=pandora-kernel.git NFSv4.1: Fix client id trunking on Linux Currently, our trunking code will check for session trunking, but will fail to detect client id trunking. This is a problem, because it means that the client will fail to recognise that the two connections represent shared state, even if they do not permit a shared session. By removing the check for the server minor id, and only checking the major id, we will end up doing the right thing in both cases: we close down the new nfs_client and fall back to using the existing one. Fixes: 05f4c350ee02e ("NFS: Discover NFSv4 server trunking when mounting") Cc: Chuck Lever Cc: stable@vger.kernel.org # 3.7.x Tested-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed