NFSv4.1: Ensure state manager thread dies on last umount
commitf1b83f3837c5d746d6f176562bb6c0e566f1bc6a
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, 9 May 2011 23:04:40 +0000 (9 16:04 -0700)
tree80228666712c5337ee4da9a3646353c1bf472f2b
parentef0a7cb84462c4ee1e9870a5730de6975f55523b
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