NFSv4: Fix a race in NFSv4.1 server trunking discovery
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 4 Mar 2015 01:28:59 +0000 (20:28 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 4 Mar 2015 01:42:23 +0000 (20:42 -0500)
We do not want to allow a race with another NFS mount to cause
nfs41_walk_client_list() to establish a lease on our nfs_client before
we're done checking for trunking.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/client.c
fs/nfs/nfs4client.c
fs/nfs/nfs4state.c

diff --cc fs/nfs/client.c
Simple merge
Simple merge
Simple merge