Deleted Added
full compact
geom_disk.c (121216) geom_disk.c (123271)
1/*-
2 * Copyright (c) 2002 Poul-Henning Kamp
3 * Copyright (c) 2002 Networks Associates Technology, Inc.
4 * All rights reserved.
5 *
6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp
7 * and NAI Labs, the Security Research Division of Network Associates, Inc.
8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the

--- 20 unchanged lines hidden (view full) ---

29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 */
35
36#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2002 Poul-Henning Kamp
3 * Copyright (c) 2002 Networks Associates Technology, Inc.
4 * All rights reserved.
5 *
6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp
7 * and NAI Labs, the Security Research Division of Network Associates, Inc.
8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the

--- 20 unchanged lines hidden (view full) ---

29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 */
35
36#include <sys/cdefs.h>
37__FBSDID("$FreeBSD: head/sys/geom/geom_disk.c 121216 2003-10-18 17:53:34Z phk $");
37__FBSDID("$FreeBSD: head/sys/geom/geom_disk.c 123271 2003-12-07 23:20:53Z truckman $");
38
39#include "opt_geom.h"
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/kernel.h>
44#include <sys/sysctl.h>
45#include <sys/bio.h>

--- 21 unchanged lines hidden (view full) ---

67 .init = g_disk_init,
68 .fini = g_disk_fini,
69};
70
71static void
72g_disk_init(struct g_class *mp __unused)
73{
74
38
39#include "opt_geom.h"
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/kernel.h>
44#include <sys/sysctl.h>
45#include <sys/bio.h>

--- 21 unchanged lines hidden (view full) ---

67 .init = g_disk_init,
68 .fini = g_disk_fini,
69};
70
71static void
72g_disk_init(struct g_class *mp __unused)
73{
74
75 mtx_init(&g_disk_done_mtx, "g_disk_done", MTX_DEF, 0);
75 mtx_init(&g_disk_done_mtx, "g_disk_done", NULL, MTX_DEF);
76}
77
78static void
79g_disk_fini(struct g_class *mp __unused)
80{
81
82 mtx_destroy(&g_disk_done_mtx);
83}

--- 350 unchanged lines hidden ---
76}
77
78static void
79g_disk_fini(struct g_class *mp __unused)
80{
81
82 mtx_destroy(&g_disk_done_mtx);
83}

--- 350 unchanged lines hidden ---