diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-11-05 19:10:50 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2019-02-11 20:54:02 +0300 |
commit | f9b9919e59b245e5f6e6973f99ae57b4ef2291a0 (patch) | |
tree | fb6ed454c97debc50a9f68658b81714e596dcbf0 /fs/btrfs | |
parent | 325818b679e821592808c3382262c7ec5aa0c0de (diff) | |
download | linux-f9b9919e59b245e5f6e6973f99ae57b4ef2291a0.tar.xz |
NFSv4: Don't exit the state manager without clearing NFS4CLNT_MANAGER_RUNNING
commit 21a446cf186570168b7281b154b1993968598aca upstream.
If we exit the NFSv4 state manager due to a umount, then we can end up
leaving the NFS4CLNT_MANAGER_RUNNING flag set. If another mount causes
the nfs4_client to be rereferenced before it is destroyed, then we end
up never being able to recover state.
Fixes: 47c2199b6eb5 ("NFSv4.1: Ensure state manager thread dies on last ...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/btrfs')
0 files changed, 0 insertions, 0 deletions