NFSv4: Kill nfs4_renewd_prepare_shutdown()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 8 Oct 2009 15:50:55 +0000 (11:50 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 8 Oct 2009 15:50:55 +0000 (11:50 -0400)
commit3050141bae57984dd660e6861632ccf9b8bca77e
tree01d0829c1f46885543f93785190d55a3d6ef3203
parent517be09def6cd7bc231222ee756fde8ea245a6fe
NFSv4: Kill nfs4_renewd_prepare_shutdown()

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>
fs/nfs/nfs4renewd.c
fs/nfs/super.c