diff options
author | Julian Elischer <julian@FreeBSD.org> | 2004-07-20 17:15:38 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2004-07-20 17:15:38 +0000 |
commit | be4252b3678cb9f12ac9cbc4b9d827b06d073799 (patch) | |
tree | 1ffde5acbe2efbfe316cb725d560740f7caca117 /sys/dev/ctau/if_ct.c | |
parent | 01f679a25fb93dbfae502fc7c8db95db5d405748 (diff) |
Slight cosmetic changes.
Also introduce a macro to be called by persistent nodes to signal their
persistence during shutdown to hide this mechanism from the node author.
Make node flags have a consistent style in naming.
Document the change.
Notes
Notes:
svn path=/head/; revision=132464
Diffstat (limited to 'sys/dev/ctau/if_ct.c')
-rw-r--r-- | sys/dev/ctau/if_ct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c index 67eb83a3b1d0..96b324c16947 100644 --- a/sys/dev/ctau/if_ct.c +++ b/sys/dev/ctau/if_ct.c @@ -2256,11 +2256,11 @@ static int ng_ct_rmnode (node_p node) splx (s); } #ifdef KLD_MODULE - if (node->nd_flags & NG_REALLY_DIE) { + if (node->nd_flags & NGF_REALLY_DIE) { NG_NODE_SET_PRIVATE (node, NULL); NG_NODE_UNREF (node); } - node->nd_flags &= ~NG_INVALID; + NG_NODE_REVIVE(node); /* Persistant node */ #endif #else /* __FreeBSD_version < 500000 */ drv_t *d = node->private; |