summaryrefslogtreecommitdiffstats
path: root/fs/compat.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-23 13:23:31 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-23 15:20:57 -0400
commit7b38c3682c5cab4f98751d5fe57b78a59020653d (patch)
treec6c2ea72b99b59b60a3c7ba3d142a4926664398e /fs/compat.c
parentacdeb69d9c5934a678a732b4e24770326bf9471e (diff)
downloadlinux-stable-7b38c3682c5cab4f98751d5fe57b78a59020653d.tar.gz
linux-stable-7b38c3682c5cab4f98751d5fe57b78a59020653d.tar.bz2
linux-stable-7b38c3682c5cab4f98751d5fe57b78a59020653d.zip
NFSv4.1: Fix session initialisation races
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: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Andy Adamson <andros@netapp.com>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions