]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
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)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 3 Apr 2019 18:12:31 +0000 (13:12 -0500)
commitda3260402082549910175a69f99f14c113b40b7c
treef4b2ac55c960db9ca6620e57f6683bfa5bfb5d5a
parent713e76e03653dc0f4e1ee510b1b9670480604444
NFSv4.1 don't free interrupted slot on open

BugLink: https://bugs.launchpad.net/bugs/1823060
commit 0cb98abb5bd13b9a636bde603d952d722688b428 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
fs/nfs/nfs4proc.c