Deleted Added
full compact
g_label_msdosfs.c (188492) g_label_msdosfs.c (199875)
1/*-
2 * Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>
3 * Copyright (c) 2006 Tobias Reifenberger
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:

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>
3 * Copyright (c) 2006 Tobias Reifenberger
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:

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/geom/label/g_label_msdosfs.c 188492 2009-02-11 18:13:20Z lulf $");
29__FBSDID("$FreeBSD: head/sys/geom/label/g_label_msdosfs.c 199875 2009-11-28 11:57:43Z trasz $");
30
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/kernel.h>
34#include <sys/malloc.h>
35
36#include <geom/geom.h>
37#include <geom/label/g_label.h>

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

211
212error:
213 if (sector0 != NULL)
214 g_free(sector0);
215 if (sector != NULL)
216 g_free(sector);
217}
218
30
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/kernel.h>
34#include <sys/malloc.h>
35
36#include <geom/geom.h>
37#include <geom/label/g_label.h>

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

211
212error:
213 if (sector0 != NULL)
214 g_free(sector0);
215 if (sector != NULL)
216 g_free(sector);
217}
218
219const struct g_label_desc g_label_msdosfs = {
219struct g_label_desc g_label_msdosfs = {
220 .ld_taste = g_label_msdosfs_taste,
220 .ld_taste = g_label_msdosfs_taste,
221 .ld_dir = G_LABEL_MSDOSFS_DIR
221 .ld_dir = G_LABEL_MSDOSFS_DIR,
222 .ld_enabled = 1
222};
223};
224
225G_LABEL_INIT(msdosfs, g_label_msdosfs, "Create device nodes for MSDOSFS volumes");