NFSv4.1: We must release the sequence id when we fail to get a session slot
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 29 Oct 2012 22:37:40 +0000 (18:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Nov 2012 21:16:11 +0000 (13:16 -0800)
commit0ada2107a13f1b1ae8bdd5fec32912bc40f4e679
tree7dcce5e6cf7e2ea6feef5f125296c5d46c045d15
parent8827f3112b5f3bd0ffa21dc647cb22b197558c59
NFSv4.1: We must release the sequence id when we fail to get a session slot

commit 2240a9e2d013d8269ea425b73e1d7a54c7bc141f upstream.

If we do not release the sequence id in cases where we fail to get a
session slot, then we can deadlock if we hit a recovery scenario.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c