NFSv4.1 don't free interrupted slot on open
authorOlga Kornievskaia <kolga@netapp.com>
Tue, 19 Mar 2019 16:12:13 +0000 (12:12 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 19 Mar 2019 17:17:49 +0000 (13:17 -0400)
commit0cb98abb5bd13b9a636bde603d952d722688b428
treec9fe7f365b92d523148df206649f74d6bdc753f9
parent4a9be28c45bf02fa0436808bb6c0baeba30e120e
NFSv4.1 don't free interrupted slot on open

Allow the async rpc task for finish and update the open state if needed,
then free the slot. Otherwise, the async rpc unable to decode the reply.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Fixes: ae55e59da0e4 ("pnfs: Don't release the sequence slot...")
Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c