On Thu, 6 Nov 2008 17:10:57 -0500 "J. Bruce Fields" <bfields@xxxxxxxxxxxx> wrote: > On Thu, Nov 06, 2008 at 07:17:33AM -0500, Jeff Layton wrote: > > On Wed, 5 Nov 2008 15:06:51 -0500 > > "J. Bruce Fields" <bfields@xxxxxxxxxxxxxx> wrote: > > > > > These clients will all be shut down by nlm_destroy_host() when we do > > > garbage collection a little later, so this is redundant. > > > > > > XXX: Ask Jeff Layton why he added this again? > > > > > > Signed-off-by: J. Bruce Fields <bfields@xxxxxxxxxxxxxx> > > > --- > > > fs/lockd/host.c | 8 +------- > > > 1 files changed, 1 insertions(+), 7 deletions(-) > > > > > > diff --git a/fs/lockd/host.c b/fs/lockd/host.c > > > index 73c2be2..0387c6b 100644 > > > --- a/fs/lockd/host.c > > > +++ b/fs/lockd/host.c > > > @@ -602,14 +602,8 @@ static void expire_hosts(struct host_table *table) > > > struct hlist_node *pos; > > > struct nlm_host *host; > > > > > > - dprintk("lockd: nuking all hosts...\n"); > > > - for_each_host(host, pos, chain, table) { > > > + for_each_host(host, pos, chain, table) > > > host->h_expires = jiffies - 1; > > > - if (host->h_rpcclnt) { > > > - rpc_shutdown_client(host->h_rpcclnt); > > > - host->h_rpcclnt = NULL; > > > - } > > > - } > > > } > > > > > > /* > > > > Thank goodness for my OC commenting in the BZ I was using to track this! > > > > https://bugzilla.redhat.com/show_bug.cgi?id=254195#c4 > > We should try to get that kind of comment out of scattered bugzillas and > in to the code.... > > --b. > Yes -- I should have added a comment when I did the original patch. Chuck and I discussed this some on IRC today. I think he was planning to do a patch to add one. Chuck, let me know if you'd rather I do it... -- Jeff Layton <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html