NFSv4.1: Ensure state manager thread dies on last umount
commit67d456fdeff3f5ee21ea788b0ce1800eba0db5cb
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 15 Apr 2011 21:34:18 +0000 (15 17:34 -0400)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:42 +0000 (1 13:54 -0700)
tree959e640ee63fd5188fe6a34145320ff592873b04
parent86b7b580a603f3ecd18e3b19e5d9dc2eb7c458dc
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
fs/nfs/nfs4state.c