NFSv4.1 end back channel session draining
authorAndy Adamson <andros@netapp.com>
Wed, 19 Jun 2013 20:39:44 +0000 (16:39 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jul 2013 18:42:27 +0000 (11:42 -0700)
commit9c42c27677b133bd8c8f7a7d69dd4d00e96ef035
tree8e486b748aa15792be945463ac89802eb71090e3
parent94b86558ab7109fa41e18d33ca510c0bc17b6cba
NFSv4.1 end back channel session draining

commit 62f288a02f97bd9f6b2361a6fff709729fe9e110 upstream.

We need to ensure that we clear NFS4_SLOT_TBL_DRAINING on the back
channel when we're done recovering the session.

Regression introduced by commit 774d5f14e (NFSv4.1 Fix a pNFS session
draining deadlock)

Signed-off-by: Andy Adamson <andros@netapp.com>
[Trond: Changed order to start back-channel first. Minor code cleanup]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4state.c