]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NFSv4: Kill nfs4_renewd_prepare_shutdown()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 8 Oct 2009 15:50:55 +0000 (11:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:52:37 +0000 (16:52 -0800)
commitb8dc9d1b7ffc843ee9dcb697c72b057bee082fc8
tree5f2a6c12496b95796142fe8eede15e1657126de7
parentecb50328c9d53fb06a01734a12ce70748747feac
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