diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-01-02 16:25:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-27 07:52:32 -0800 |
commit | a8c44ea097e3a4eb9ca26f2f592a2873bb4144ff (patch) | |
tree | 2d5ae973d418e0681a413da18155fafe0b75f946 /drivers/gpio | |
parent | 1bd60326bf850ad56f000c0a66e00c2d3f692ad8 (diff) |
NFSv4.1: Fix client id trunking on Linux
commit 1fc0703af3143914a389bfa081c7acb09502ed5d upstream.
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 <chuck.lever@oracle.com>
Tested-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions