From: Trond Myklebust Date: Sun, 11 Sep 2016 18:50:01 +0000 (-0400) Subject: NFSv4.1: Fix the CREATE_SESSION slot number accounting X-Git-Tag: v3.2.84~50 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=f20eed46d579e49d0de3cd278e0aef3d99034bdc NFSv4.1: Fix the CREATE_SESSION slot number accounting commit b519d408ea32040b1c7e10b155a3ee9a36660947 upstream. Ensure that we conform to the algorithm described in RFC5661, section 18.36.4 for when to bump the sequence id. In essence we do it for all cases except when the RPC call timed out, or in case of the server returning NFS4ERR_DELAY or NFS4ERR_STALE_CLIENTID. Signed-off-by: Trond Myklebust [bwh: Backported to 3.2: - Add the 'out' label - Adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed