Subject: Re: rehashing after "sysctl -w kern.maxvnodes=..."
To: Chuck Silvers <chuq@chuq.com>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-kern
Date: 09/13/2001 16:19:19
Chuck Silvers <chuq@chuq.com> writes:
> - for (dp = *dpp; dp != NULL; dp = dq)
> - dq = dp->d_next;
> + for (dp = LIST_FIRST(dpp); dp != NULL; dp = dp) {
> + dq = LIST_NEXT(dp, d_hash);
s/dp = dp/dp = dq/
> @@ -78,7 +78,6 @@
> void
> nfs_nhinit()
> {
> -
> nfsnodehashtbl = hashinit(desiredvnodes, HASH_LIST, M_NFSNODE,
> M_WAITOK, &nfsnodehash);
> lockinit(&nfs_hashlock, PINOD, "nfs_hashlock", 0, 0);
I like this empty line which knf requires.
enami.