Deleted Added
full compact
geom_bsd.c (133314) geom_bsd.c (133318)
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

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

33 * SUCH DAMAGE.
34 *
35 * This is the method for dealing with BSD disklabels. It has been
36 * extensively (by my standards at least) commented, in the vain hope that
37 * it will serve as the source in future copy&paste operations.
38 */
39
40#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

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

33 * SUCH DAMAGE.
34 *
35 * This is the method for dealing with BSD disklabels. It has been
36 * extensively (by my standards at least) commented, in the vain hope that
37 * it will serve as the source in future copy&paste operations.
38 */
39
40#include <sys/cdefs.h>
41__FBSDID("$FreeBSD: head/sys/geom/geom_bsd.c 133314 2004-08-08 06:49:07Z phk $");
41__FBSDID("$FreeBSD: head/sys/geom/geom_bsd.c 133318 2004-08-08 07:57:53Z phk $");
42
43#include <sys/param.h>
44#include <sys/endian.h>
45#include <sys/systm.h>
46#include <sys/kernel.h>
47#include <sys/conf.h>
48#include <sys/bio.h>
49#include <sys/malloc.h>

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

657 }
658
659 return;
660}
661
662/* Finally, register with GEOM infrastructure. */
663static struct g_class g_bsd_class = {
664 .name = BSD_CLASS_NAME,
42
43#include <sys/param.h>
44#include <sys/endian.h>
45#include <sys/systm.h>
46#include <sys/kernel.h>
47#include <sys/conf.h>
48#include <sys/bio.h>
49#include <sys/malloc.h>

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

657 }
658
659 return;
660}
661
662/* Finally, register with GEOM infrastructure. */
663static struct g_class g_bsd_class = {
664 .name = BSD_CLASS_NAME,
665 .version = G_VERSION,
665 .taste = g_bsd_taste,
666 .ctlreq = g_bsd_config,
667 .dumpconf = g_bsd_dumpconf,
668 .ioctl = g_bsd_ioctl,
669};
670
671DECLARE_GEOM_CLASS(g_bsd_class, g_bsd);
666 .taste = g_bsd_taste,
667 .ctlreq = g_bsd_config,
668 .dumpconf = g_bsd_dumpconf,
669 .ioctl = g_bsd_ioctl,
670};
671
672DECLARE_GEOM_CLASS(g_bsd_class, g_bsd);