From owner-p4-projects Sun Oct 20 19:26: 3 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2291C37B404; Sun, 20 Oct 2002 19:26:01 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6C3237B401 for ; Sun, 20 Oct 2002 19:26:00 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6273E43E6E for ; Sun, 20 Oct 2002 19:26:00 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9L2PYmV008060 for ; Sun, 20 Oct 2002 19:25:34 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9L2PXoT008057 for perforce@freebsd.org; Sun, 20 Oct 2002 19:25:33 -0700 (PDT) Date: Sun, 20 Oct 2002 19:25:33 -0700 (PDT) Message-Id: <200210210225.g9L2PXoT008057@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 19758 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=19758 Change 19758 by rwatson@rwatson_tislabs on 2002/10/20 19:25:20 Improve approximation of alphabetization of function entry points. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#319 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#319 (text+ko) ==== @@ -1451,17 +1451,6 @@ #endif } -void -mac_destroy_mbuf(struct mbuf *m) -{ - - MAC_PERFORM(destroy_mbuf_label, &m->m_pkthdr.label); - mac_destroy_label(&m->m_pkthdr.label); -#ifdef MAC_DEBUG - atomic_subtract_int(&nmacmbufs, 1); -#endif -} - static void mac_destroy_ifnet_label(struct label *label) { @@ -1492,6 +1481,17 @@ } void +mac_destroy_mbuf(struct mbuf *m) +{ + + MAC_PERFORM(destroy_mbuf_label, &m->m_pkthdr.label); + mac_destroy_label(&m->m_pkthdr.label); +#ifdef MAC_DEBUG + atomic_subtract_int(&nmacmbufs, 1); +#endif +} + +void mac_destroy_mount(struct mount *mp) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message