Deleted Added
full compact
g_multipath.c (312861) g_multipath.c (332640)
1/*-
2 * Copyright (c) 2011-2013 Alexander Motin <mav@FreeBSD.org>
3 * Copyright (c) 2006-2007 Matthew Jacob <mjacob@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

26 */
27/*
28 * Based upon work by Pawel Jakub Dawidek <pjd@FreeBSD.org> for all of the
29 * fine geom examples, and by Poul Henning Kamp <phk@FreeBSD.org> for GEOM
30 * itself, all of which is most gratefully acknowledged.
31 */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2011-2013 Alexander Motin <mav@FreeBSD.org>
3 * Copyright (c) 2006-2007 Matthew Jacob <mjacob@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

26 */
27/*
28 * Based upon work by Pawel Jakub Dawidek <pjd@FreeBSD.org> for all of the
29 * fine geom examples, and by Poul Henning Kamp <phk@FreeBSD.org> for GEOM
30 * itself, all of which is most gratefully acknowledged.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: stable/11/sys/geom/multipath/g_multipath.c 312861 2017-01-27 05:58:53Z mav $");
34__FBSDID("$FreeBSD: stable/11/sys/geom/multipath/g_multipath.c 332640 2018-04-17 02:18:04Z kevans $");
35#include <sys/param.h>
36#include <sys/systm.h>
37#include <sys/kernel.h>
38#include <sys/module.h>
39#include <sys/limits.h>
40#include <sys/lock.h>
41#include <sys/mutex.h>
42#include <sys/bio.h>

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

1525 sc->sc_active_active == 2 ? "Read" :
1526 sc->sc_active_active == 1 ? "Active" : "Passive");
1527 sbuf_printf(sb, "%s<Type>%s</Type>\n", indent,
1528 sc->sc_uuid[0] == 0 ? "MANUAL" : "AUTOMATIC");
1529 }
1530}
1531
1532DECLARE_GEOM_CLASS(g_multipath_class, g_multipath);
35#include <sys/param.h>
36#include <sys/systm.h>
37#include <sys/kernel.h>
38#include <sys/module.h>
39#include <sys/limits.h>
40#include <sys/lock.h>
41#include <sys/mutex.h>
42#include <sys/bio.h>

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

1525 sc->sc_active_active == 2 ? "Read" :
1526 sc->sc_active_active == 1 ? "Active" : "Passive");
1527 sbuf_printf(sb, "%s<Type>%s</Type>\n", indent,
1528 sc->sc_uuid[0] == 0 ? "MANUAL" : "AUTOMATIC");
1529 }
1530}
1531
1532DECLARE_GEOM_CLASS(g_multipath_class, g_multipath);
1533MODULE_VERSION(geom_multipath, 0);