From: Trond Myklebust Date: Wed, 23 May 2012 17:23:31 +0000 (-0400) Subject: NFSv4.1: Fix session initialisation races X-Git-Tag: v3.5-rc1~52^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b38c3682c5cab4f98751d5fe57b78a59020653d;p=pandora-kernel.git 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 Cc: Andy Adamson --- Reading git-diff-tree failed