aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-10-08 11:50:55 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-11-09 16:52:37 -0800
commitb8dc9d1b7ffc843ee9dcb697c72b057bee082fc8 (patch)
tree5f2a6c12496b95796142fe8eede15e1657126de7 /fs/nfs/super.c
parentecb50328c9d53fb06a01734a12ce70748747feac (diff)
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>
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index e9b20173fef..3da0fa58218 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -2398,7 +2398,6 @@ static void nfs4_kill_super(struct super_block *sb)
nfs_return_all_delegations(sb);
kill_anon_super(sb);
- nfs4_renewd_prepare_shutdown(server);
nfs_free_server(server);
}