geom_vol_ffs.c (125755) | geom_vol_ffs.c (133318) |
---|---|
1/*- 2 * Copyright (c) 2002, 2003 Gordon Tetlow 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> | 1/*- 2 * Copyright (c) 2002, 2003 Gordon Tetlow 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/geom_vol_ffs.c 125755 2004-02-12 22:42:11Z phk $"); | 28__FBSDID("$FreeBSD: head/sys/geom/geom_vol_ffs.c 133318 2004-08-08 07:57:53Z phk $"); |
29 30#include <sys/param.h> 31#include <sys/errno.h> 32#include <sys/systm.h> 33#include <sys/kernel.h> 34#include <sys/malloc.h> 35#include <sys/bio.h> 36#include <sys/lock.h> --- 95 unchanged lines hidden (view full) --- 132 g_slice_spoiled(cp); 133 return (NULL); 134 } 135 return (gp); 136} 137 138static struct g_class g_vol_ffs_class = { 139 .name = VOL_FFS_CLASS_NAME, | 29 30#include <sys/param.h> 31#include <sys/errno.h> 32#include <sys/systm.h> 33#include <sys/kernel.h> 34#include <sys/malloc.h> 35#include <sys/bio.h> 36#include <sys/lock.h> --- 95 unchanged lines hidden (view full) --- 132 g_slice_spoiled(cp); 133 return (NULL); 134 } 135 return (gp); 136} 137 138static struct g_class g_vol_ffs_class = { 139 .name = VOL_FFS_CLASS_NAME, |
140 .version = G_VERSION, 141 .version = G_VERSION, |
|
140 .taste = g_vol_ffs_taste, 141}; 142 143DECLARE_GEOM_CLASS(g_vol_ffs_class, g_vol_ffs); | 142 .taste = g_vol_ffs_taste, 143}; 144 145DECLARE_GEOM_CLASS(g_vol_ffs_class, g_vol_ffs); |