NFSv4.1: Fix an ABBA locking issue with session and state serialisation
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 12 Feb 2013 00:01:21 +0000 (19:01 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 12 Feb 2013 00:04:25 +0000 (19:04 -0500)
commitc8da19b9866ea84e9ad1c369393ea95d54ee7845
tree31e00f66f682f2e27e21ade87e1d3e00cd07f6f7
parentc21443c2c792cd9b463646d982b0fe48aa6feb0f
NFSv4.1: Fix an ABBA locking issue with session and state serialisation

Ensure that if nfs_wait_on_sequence() causes our rpc task to wait for
an NFSv4 state serialisation lock, then we also drop the session slot.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
fs/nfs/nfs4proc.c