NFSv4.1: don't do two EXCHANGE_IDs on mount
authorWeston Andros Adamson <dros@netapp.com>
Tue, 2 Oct 2012 18:33:22 +0000 (11:33 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Oct 2012 18:35:47 +0000 (11:35 -0700)
commitfd4835708ffd3387a76df2d1d3021717b0b63761
treec47e28f44d10d10b96e7ab9aa8024aa613c3dbd5
parentc2ccc084eb46ae718a200ad9c2606c258bf79a25
NFSv4.1: don't do two EXCHANGE_IDs on mount

Since the addition of NFSv4 server trunking detection the mount context
calls nfs4_proc_exchange_id then schedules the state manager, which also
calls nfs4_proc_exchange_id. Setting the NFS4CLNT_LEASE_CONFIRM bit
makes the state manager skip the unneeded EXCHANGE_ID and continue on
with session creation.

Reported-by: Jorge Mora <mora@netapp.com>
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4state.c