NFSv4.1: Ensure state manager thread dies on last umount
commit20857f111ec4c3e5aea039c5c06d5254aeeb620c
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 15 Apr 2011 21:34:18 +0000 (15 17:34 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 May 2011 16:19:46 +0000 (2 09:19 -0700)
tree866780cec4cd0d1e2e52e8d8f3c71f62bb1f77dd
parent558cc1035db8ac0a510b4582f5354de1510224d6
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: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/nfs4state.c