• Trond Myklebust's avatar
    NFSv4.1: Fix session initialisation races · 7b38c368
    Trond Myklebust authored
    Session initialisation is not complete until the lease manager
    has run. We need to ensure that both nfs4_init_session and
    nfs4_init_ds_session do so, and that they check for any resulting
    errors in clp->cl_cons_state.
    
    Only after this is done, can nfs4_ds_connect check the contents
    of clp->cl_exchange_flags.
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    Cc: Andy Adamson <andros@netapp.com>
    7b38c368
nfs4filelayoutdev.c 20.6 KB