NFSv4: Kill nfs4_renewd_prepare_shutdown()
commit463cbfdf160340cbc5e91db88546471f697f98d9
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 8 Oct 2009 15:50:55 +0000 (8 11:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:23:04 +0000 (9 16:23 -0800)
tree75e16511818f9022899c65674b4356d58cdb4d68
parent85c60e5dfa4c00bb4deacc36cd719db557c9d2c6
NFSv4: Kill nfs4_renewd_prepare_shutdown()

commit 3050141bae57984dd660e6861632ccf9b8bca77e upstream.

The NFSv4 renew daemon is shared between all active super blocks that refer
to a particular NFS server, so it is wrong to be shutting it down in
nfs4_kill_super every time a super block is destroyed.

This patch therefore kills nfs4_renewd_prepare_shutdown altogether, and
leaves it up to nfs4_shutdown_client() to also shut down the renew daemon
by means of the existing call to nfs4_kill_renewd().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/nfs4renewd.c
fs/nfs/super.c