NFSv4.1: Ensure state manager thread dies on last umount
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 15 Apr 2011 21:34:18 +0000 (17:34 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 14 Mar 2012 14:57:28 +0000 (10:57 -0400)
commit9b3183b03e886ca5a7a59d365c097434fef1b5b4
tree1b5ec26e3b23a2e2706c7e9dbb9e1bd19cca028c
parent26dd4e799e75381c681a711bf9fb960eb342cbea
NFSv4.1: Ensure state manager thread dies on last umount

commit 47c2199b6eb5fbe38ddb844db7cdbd914d304f9c upstream.

Currently, the state manager may continue to try recovering state forever
even after the last filesystem to reference that nfs_client has umounted.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
fs/nfs/nfs4state.c