Deleted Added
sdiff udiff text old ( 132940 ) new ( 133318 )
full compact
1/*-
2 * Copyright (c) 2004 Lukas Ertl
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/geom/vinum/geom_vinum_plex.c 132940 2004-07-31 21:34:21Z le $");
29
30#include <sys/param.h>
31#include <sys/bio.h>
32#include <sys/kernel.h>
33#include <sys/kthread.h>
34#include <sys/libkern.h>
35#include <sys/lock.h>
36#include <sys/malloc.h>

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

474 g_wither_geom(gp, ENXIO);
475 return (0);
476}
477
478#define VINUMPLEX_CLASS_NAME "VINUMPLEX"
479
480static struct g_class g_vinum_plex_class = {
481 .name = VINUMPLEX_CLASS_NAME,
482 .taste = gv_plex_taste,
483 .destroy_geom = gv_plex_destroy_geom,
484};
485
486DECLARE_GEOM_CLASS(g_vinum_plex_class, g_vinum_plex);